Browse Source

perl-data-uuid: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: license is not "bsd", but some variant of MIT.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Christopher McCrory 7 years ago
parent
commit
70ea966557

+ 1 - 0
DEVELOPERS

@@ -484,6 +484,7 @@ N:	Christopher McCrory <chrismcc@gmail.com>
 F:	package/perl-appconfig/
 F:	package/perl-astro-suntime/
 F:	package/perl-class-std/
+F:	package/perl-data-uuid/
 
 N:	Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
 F:	package/audit/

+ 1 - 0
package/Config.in

@@ -673,6 +673,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-uuid/Config.in"
 	source "package/perl-datetime-tiny/Config.in"
 	source "package/perl-digest-hmac/Config.in"
 	source "package/perl-digest-md5/Config.in"

+ 10 - 0
package/perl-data-uuid/Config.in

@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_DATA_UUID
+	bool "perl-data-uuid"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Globally/Universally Unique Identifiers (GUIDs/UUIDs)
+
+	  https://metacpan.org/release/Data-UUID
+
+comment "perl-data-uuid needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS

+ 6 - 0
package/perl-data-uuid/perl-data-uuid.hash

@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    7619929e8fe205a7fb83bc1c29ecbf99 Data-UUID-1.221.tar.gz
+sha256 3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667 Data-UUID-1.221.tar.gz
+
+# computed by scancpan
+sha256 0560c8eea8e1fb8173faa6c2e9b7e9f8728b8ae8250a814709a53c30b778d5fb LICENSE

+ 18 - 0
package/perl-data-uuid/perl-data-uuid.mk

@@ -0,0 +1,18 @@
+################################################################################
+#
+# perl-data-uuid
+#
+################################################################################
+
+PERL_DATA_UUID_VERSION = 1.221
+PERL_DATA_UUID_SOURCE = Data-UUID-$(PERL_DATA_UUID_VERSION).tar.gz
+PERL_DATA_UUID_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS
+# The license is documented at
+# https://fedoraproject.org/wiki/Licensing:MIT#HP_Variant as the "HP
+# Variant" of the MIT license. There is no official SPDX tag for this
+# license, but the other MIT variants are prefixed with "MIT-", so we
+# do the same here.
+PERL_DATA_UUID_LICENSE = MIT-HP
+PERL_DATA_UUID_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))