[Buildroot] [git commit] perl-try-tiny: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 23 19:47:40 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=d53d8e385ec9051267c9e8961e47c3df58f16408
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/Config.in                      |    1 +
 package/perl-try-tiny/Config.in        |    6 ++++++
 package/perl-try-tiny/perl-try-tiny.mk |   14 ++++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 40d8ba9..7c9f3ad 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -440,6 +440,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-net-ssleay/Config.in"
 	source "package/perl-path-tiny/Config.in"
+	source "package/perl-try-tiny/Config.in"
 	source "package/perl-xml-libxml/Config.in"
 	source "package/perl-xml-namespacesupport/Config.in"
 	source "package/perl-xml-sax-base/Config.in"
diff --git a/package/perl-try-tiny/Config.in b/package/perl-try-tiny/Config.in
new file mode 100644
index 0000000..7bd5396
--- /dev/null
+++ b/package/perl-try-tiny/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_TRY_TINY
+	bool "perl-try-tiny"
+	help
+	  minimal try/catch with proper preservation of $@
+
+	  http://metacpan.org/release/Try-Tiny
diff --git a/package/perl-try-tiny/perl-try-tiny.mk b/package/perl-try-tiny/perl-try-tiny.mk
new file mode 100644
index 0000000..0bb3d00
--- /dev/null
+++ b/package/perl-try-tiny/perl-try-tiny.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-try-tiny
+#
+################################################################################
+
+PERL_TRY_TINY_VERSION = 0.22
+PERL_TRY_TINY_SOURCE = Try-Tiny-$(PERL_TRY_TINY_VERSION).tar.gz
+PERL_TRY_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY/
+PERL_TRY_TINY_DEPENDENCIES = perl
+PERL_TRY_TINY_LICENSE = MIT
+PERL_TRY_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))


More information about the buildroot mailing list