From: Christopher McCrory Date: Mon, 20 Aug 2018 11:55:10 +0000 (-0700) Subject: perl-class-load: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f93e46b0246958b788540ed83c0b02a7bfc7b10;p=buildroot.git perl-class-load: new package Signed-off-by: Christopher McCrory Acked-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index 1441fbd7b3..54ede10792 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -487,6 +487,7 @@ F: package/targetcli-fb/ N: Christopher McCrory F: package/perl-appconfig/ F: package/perl-astro-suntime/ +F: package/perl-class-load/ F: package/perl-class-std/ F: package/perl-class-std-fast/ F: package/perl-data-dump/ diff --git a/package/Config.in b/package/Config.in index 583e86a94c..d28e844e17 100644 --- a/package/Config.in +++ b/package/Config.in @@ -667,6 +667,7 @@ if BR2_PACKAGE_PERL menu "Perl libraries/modules" source "package/perl-appconfig/Config.in" source "package/perl-astro-suntime/Config.in" + source "package/perl-class-load/Config.in" source "package/perl-class-std/Config.in" source "package/perl-class-std-fast/Config.in" source "package/perl-convert-asn1/Config.in" diff --git a/package/perl-class-load/Config.in b/package/perl-class-load/Config.in new file mode 100644 index 0000000000..fef9431e49 --- /dev/null +++ b/package/perl-class-load/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PERL_CLASS_LOAD + bool "perl-class-load" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DATA_OPTLIST + select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION + select BR2_PACKAGE_PERL_MODULE_RUNTIME + select BR2_PACKAGE_PERL_PACKAGE_STASH + select BR2_PACKAGE_PERL_TRY_TINY + help + A working (require "Class::Name") and more + + https://github.com/moose/Class-Load + +comment "perl-class-load needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/perl-class-load/perl-class-load.hash b/package/perl-class-load/perl-class-load.hash new file mode 100644 index 0000000000..c2900d6964 --- /dev/null +++ b/package/perl-class-load/perl-class-load.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e4c831c08df592ce8dfee0c7cfc12fd7 Class-Load-0.25.tar.gz +sha256 2a48fa779b5297e56156380e8b32637c6c58decb4f4a7f3c7350523e11275f8f Class-Load-0.25.tar.gz + +# computed by scancpan +sha256 dc030e63f20035291b90d09c2c40f296224e85878caf829ea981fc2f10910f9d LICENSE diff --git a/package/perl-class-load/perl-class-load.mk b/package/perl-class-load/perl-class-load.mk new file mode 100644 index 0000000000..e581ba920c --- /dev/null +++ b/package/perl-class-load/perl-class-load.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# perl-class-load +# +################################################################################ + +PERL_CLASS_LOAD_VERSION = 0.25 +PERL_CLASS_LOAD_SOURCE = Class-Load-$(PERL_CLASS_LOAD_VERSION).tar.gz +PERL_CLASS_LOAD_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER +PERL_CLASS_LOAD_DEPENDENCIES = \ + perl-data-optlist \ + perl-module-implementation \ + perl-module-runtime \ + perl-package-stash \ + perl-try-tiny +PERL_CLASS_LOAD_LICENSE = Artistic or GPL-1.0+ +PERL_CLASS_LOAD_LICENSE_FILES = LICENSE + +$(eval $(perl-package))