Parcourir la source

perl-type-tiny: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad il y a 6 ans
Parent
commit
01083c71bc

+ 1 - 0
package/Config.in

@@ -761,6 +761,7 @@ menu "Perl libraries/modules"
 	source "package/perl-time-parsedate/Config.in"
 	source "package/perl-timedate/Config.in"
 	source "package/perl-try-tiny/Config.in"
+	source "package/perl-type-tiny/Config.in"
 	source "package/perl-uri/Config.in"
 	source "package/perl-www-form-urlencoded/Config.in"
 	source "package/perl-www-robotrules/Config.in"

+ 7 - 0
package/perl-type-tiny/Config.in

@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_TYPE_TINY
+	bool "perl-type-tiny"
+	select BR2_PACKAGE_PERL_EXPORTER_TINY # runtime
+	help
+	  tiny, yet Moo(se)-compatible type constraint
+
+	  https://metacpan.org/release/Type-Tiny

+ 7 - 0
package/perl-type-tiny/perl-type-tiny.hash

@@ -0,0 +1,7 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    fad12549fe5b904173e18a05e82e5166 Type-Tiny-1.004002.tar.gz
+sha256 e52c7e9593052aed157a15d473b5c25a1dbb3454bf3cd6913df94cc9bb2be707 Type-Tiny-1.004002.tar.gz
+
+# computed by scancpan
+sha256 0caa5aef37fdb3eddc52419d193df594550c621b84f5990830482f9f8226adde COPYRIGHT
+sha256 c614dadb36b02257ab492e3d4341e52f3f03fe8147cafd2b7da03b3b5c0361e9 LICENSE

+ 13 - 0
package/perl-type-tiny/perl-type-tiny.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-type-tiny
+#
+################################################################################
+
+PERL_TYPE_TINY_VERSION = 1.004002
+PERL_TYPE_TINY_SOURCE = Type-Tiny-$(PERL_TYPE_TINY_VERSION).tar.gz
+PERL_TYPE_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOBYINK
+PERL_TYPE_TINY_LICENSE = Artistic or GPL-1.0+
+PERL_TYPE_TINY_LICENSE_FILES = COPYRIGHT LICENSE
+
+$(eval $(perl-package))