perl-params-util: new package
authorChristopher McCrory <chrismcc@gmail.com>
Fri, 10 Aug 2018 16:14:58 +0000 (09:14 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Aug 2018 09:51:22 +0000 (11:51 +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-params-util/Config.in [new file with mode: 0644]
package/perl-params-util/perl-params-util.hash [new file with mode: 0644]
package/perl-params-util/perl-params-util.mk [new file with mode: 0644]

index 3b55b679c352dcda0dd9e30c44e74bfc11c0314f..95611897c056eea5b083a1029b855d0753dc07ff 100644 (file)
@@ -493,6 +493,7 @@ F:  package/perl-io-interface/
 F:     package/perl-json-maybexs/
 F:     package/perl-module-runtime/
 F:     package/perl-number-bytes-human/
+F:     package/perl-params-util/
 
 N:     Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
 F:     package/audit/
index feaa289aa00b7cd8a1f1b557fc2d09c49d05783f..ccc79090d7f1d7811ea55b233bedc4732900b20d 100644 (file)
@@ -719,6 +719,7 @@ menu "Perl libraries/modules"
        source "package/perl-net-telnet/Config.in"
        source "package/perl-netaddr-ip/Config.in"
        source "package/perl-number-bytes-human/Config.in"
+       source "package/perl-params-util/Config.in"
        source "package/perl-path-tiny/Config.in"
        source "package/perl-time-hires/Config.in"
        source "package/perl-timedate/Config.in"
diff --git a/package/perl-params-util/Config.in b/package/perl-params-util/Config.in
new file mode 100644 (file)
index 0000000..b155899
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_PARAMS_UTIL
+       bool "perl-params-util"
+       depends on !BR2_STATIC_LIBS
+       help
+         Simple, compact and correct param-checking functions
+
+         https://metacpan.org/release/Params-Util
+
+comment "perl-params-util needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
diff --git a/package/perl-params-util/perl-params-util.hash b/package/perl-params-util/perl-params-util.hash
new file mode 100644 (file)
index 0000000..0c247eb
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    02db120c0eef87aae1830cc62bdec37b Params-Util-1.07.tar.gz
+sha256 30f1ec3f2cf9ff66ae96f973333f23c5f558915bb6266881eac7423f52d7c76c Params-Util-1.07.tar.gz
+
+# computed by scancpan
+sha256 71b5fb95de1ba013a517c926feaa2a7d0fb0e8f132818e8529e0da5ec01187cd LICENSE
diff --git a/package/perl-params-util/perl-params-util.mk b/package/perl-params-util/perl-params-util.mk
new file mode 100644 (file)
index 0000000..71868dd
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-params-util
+#
+################################################################################
+
+PERL_PARAMS_UTIL_VERSION = 1.07
+PERL_PARAMS_UTIL_SOURCE = Params-Util-$(PERL_PARAMS_UTIL_VERSION).tar.gz
+PERL_PARAMS_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AD/ADAMK
+PERL_PARAMS_UTIL_LICENSE = Artistic or GPL-1.0+
+PERL_PARAMS_UTIL_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))