aboutsummaryrefslogtreecommitdiff
path: root/package/perl-try-tiny
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-07-22 20:17:56 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-23 21:47:40 +0200
commitd53d8e385ec9051267c9e8961e47c3df58f16408 (patch)
tree9838ee3432ab35593cb3f671d74d073ac65b2b62 /package/perl-try-tiny
parent8e8d33238ec896cf0e838a86cdd0c4f412f22485 (diff)
downloadbuildroot-d53d8e385ec9051267c9e8961e47c3df58f16408.tar.gz
buildroot-d53d8e385ec9051267c9e8961e47c3df58f16408.tar.bz2
perl-try-tiny: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-try-tiny')
-rw-r--r--package/perl-try-tiny/Config.in6
-rw-r--r--package/perl-try-tiny/perl-try-tiny.mk14
2 files changed, 20 insertions, 0 deletions
diff --git a/package/perl-try-tiny/Config.in b/package/perl-try-tiny/Config.in
new file mode 100644
index 0000000000..7bd5396feb
--- /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 0000000000..0bb3d00c67
--- /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))