perl-data-optlist: new package
authorChristopher McCrory <chrismcc@gmail.com>
Sat, 11 Aug 2018 18:27:37 +0000 (11:27 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Aug 2018 10:16:03 +0000 (12:16 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-data-optlist/Config.in [new file with mode: 0644]
package/perl-data-optlist/perl-data-optlist.hash [new file with mode: 0644]
package/perl-data-optlist/perl-data-optlist.mk [new file with mode: 0644]

index 46c0f06637ce988340826af71bcd799b7eba9bc0..60b2f2da1a8912a422ff9490a5a420e5cf73e7c2 100644 (file)
@@ -485,6 +485,7 @@ F:  package/perl-appconfig/
 F:     package/perl-astro-suntime/
 F:     package/perl-class-std/
 F:     package/perl-class-std-fast/
+F:     package/perl-data-optlist/
 F:     package/perl-data-uuid/
 F:     package/perl-date-manip/
 F:     package/perl-dbi/
index 858b781251e3efdf5b988ae38dba29ae923afb45..c9bc7bec42c91b3d6ba834d1e1c91c4f77236516 100644 (file)
@@ -674,6 +674,7 @@ menu "Perl libraries/modules"
        source "package/perl-crypt-cbc/Config.in"
        source "package/perl-crypt-openssl-random/Config.in"
        source "package/perl-crypt-openssl-rsa/Config.in"
+       source "package/perl-data-optlist/Config.in"
        source "package/perl-data-uuid/Config.in"
        source "package/perl-date-manip/Config.in"
        source "package/perl-datetime-tiny/Config.in"
diff --git a/package/perl-data-optlist/Config.in b/package/perl-data-optlist/Config.in
new file mode 100644 (file)
index 0000000..0393e65
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PERL_DATA_OPTLIST
+       bool "perl-data-optlist"
+       depends on !BR2_STATIC_LIBS
+       select BR2_PACKAGE_PERL_PARAMS_UTIL
+       select BR2_PACKAGE_PERL_SUB_INSTALL
+       help
+         parse and validate simple name/value option pairs
+
+         https://github.com/rjbs/Data-OptList
+
+comment "perl-data-optlist needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
diff --git a/package/perl-data-optlist/perl-data-optlist.hash b/package/perl-data-optlist/perl-data-optlist.hash
new file mode 100644 (file)
index 0000000..93df006
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    f9236c9ea5607134ad8a2b3dc901c4c5 Data-OptList-0.110.tar.gz
+sha256 366117cb2966473f2559f2f4575ff6ae69e84c69a0f30a0773e1b51a457ef5c3 Data-OptList-0.110.tar.gz
+
+# computed by scancpan
+sha256 73c7bd4c8e4adc474f9dae32b9aa08f6ce27327940751dd6e8373404beabdffa LICENSE
diff --git a/package/perl-data-optlist/perl-data-optlist.mk b/package/perl-data-optlist/perl-data-optlist.mk
new file mode 100644 (file)
index 0000000..ef643cf
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-data-optlist
+#
+################################################################################
+
+PERL_DATA_OPTLIST_VERSION = 0.110
+PERL_DATA_OPTLIST_SOURCE = Data-OptList-$(PERL_DATA_OPTLIST_VERSION).tar.gz
+PERL_DATA_OPTLIST_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS
+PERL_DATA_OPTLIST_DEPENDENCIES = perl-params-util perl-sub-install
+PERL_DATA_OPTLIST_LICENSE = Artistic or GPL-1.0+
+PERL_DATA_OPTLIST_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))