perl-try-tiny: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Francois Perrad 2014-07-22 20:17:56 +02:00 committed by Thomas Petazzoni
parent 8e8d33238e
commit d53d8e385e
3 changed files with 21 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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))