perl-type-tiny: new package
authorFrancois Perrad <fperrad@gmail.com>
Wed, 10 Oct 2018 08:18:31 +0000 (10:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 10 Oct 2018 12:23:19 +0000 (14:23 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/perl-type-tiny/Config.in [new file with mode: 0644]
package/perl-type-tiny/perl-type-tiny.hash [new file with mode: 0644]
package/perl-type-tiny/perl-type-tiny.mk [new file with mode: 0644]

index 7788c1cf3b38e983f8c80e1256e5313bf56d58a3..6207767ff20b7474ec5cf949b09f38f5f212bcea 100644 (file)
@@ -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"
diff --git a/package/perl-type-tiny/Config.in b/package/perl-type-tiny/Config.in
new file mode 100644 (file)
index 0000000..c4b956f
--- /dev/null
@@ -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
diff --git a/package/perl-type-tiny/perl-type-tiny.hash b/package/perl-type-tiny/perl-type-tiny.hash
new file mode 100644 (file)
index 0000000..a9e028f
--- /dev/null
@@ -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
diff --git a/package/perl-type-tiny/perl-type-tiny.mk b/package/perl-type-tiny/perl-type-tiny.mk
new file mode 100644 (file)
index 0000000..7a433d6
--- /dev/null
@@ -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))