package/perl-math-prime-util: new package
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 18 Dec 2019 20:18:44 +0000 (21:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Dec 2019 10:03:05 +0000 (11:03 +0100)
Standard generated with utils/scancpan.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-math-prime-util/Config.in [new file with mode: 0644]
package/perl-math-prime-util/perl-math-prime-util.hash [new file with mode: 0644]
package/perl-math-prime-util/perl-math-prime-util.mk [new file with mode: 0644]

index 593b79b4f144cc65ac4066d5e093f6cf5c75d4f5..dd2bb60cbb7179f77831616b4e884311c940f9c7 100644 (file)
@@ -2335,6 +2335,7 @@ F:        package/perl-crypt-cbc/
 F:     package/perl-crypt-openssl-aes/
 F:     package/perl-digest-md5/
 F:     package/perl-math-bigint/
+F:     package/perl-math-prime-util/
 F:     package/perl-mime-base64-urlsafe/
 F:     package/perl-mojolicious-plugin-authentication/
 F:     package/perl-net-ping/
index f59c11f9f949b67e4397c66102b1d0c3f9eb94ea..bbbfc3adc010677e41b0c820d8c7a554488e916f 100644 (file)
@@ -756,6 +756,7 @@ menu "Perl libraries/modules"
        source "package/perl-mail-dkim/Config.in"
        source "package/perl-mailtools/Config.in"
        source "package/perl-math-bigint/Config.in"
+       source "package/perl-math-prime-util/Config.in"
        source "package/perl-mime-base64/Config.in"
        source "package/perl-mime-base64-urlsafe/Config.in"
        source "package/perl-mime-tools/Config.in"
diff --git a/package/perl-math-prime-util/Config.in b/package/perl-math-prime-util/Config.in
new file mode 100644 (file)
index 0000000..1c7b700
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_MATH_PRIME_UTIL
+       bool "perl-math-prime-util"
+       depends on !BR2_STATIC_LIBS
+       help
+         Utilities related to prime numbers, including fast sieves and
+         factoring.
+
+         https://github.com/danaj/Math-Prime-Util
+
+comment "perl-math-prime-util needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
diff --git a/package/perl-math-prime-util/perl-math-prime-util.hash b/package/perl-math-prime-util/perl-math-prime-util.hash
new file mode 100644 (file)
index 0000000..789f3a3
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    26496630990db586dfede6551de79cbe Math-Prime-Util-0.73.tar.gz
+sha256 4afa6dd8cdb97499bd4eca6925861812c29d9f5a0f1ac27ad9d2d9c9b5602894 Math-Prime-Util-0.73.tar.gz
+
+# computed by scancpan
+sha256 475b5f12062de0e197fb8cfa44eef3b032342d097752868e72c1239fe52a8942 LICENSE
diff --git a/package/perl-math-prime-util/perl-math-prime-util.mk b/package/perl-math-prime-util/perl-math-prime-util.mk
new file mode 100644 (file)
index 0000000..5781fe7
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-math-prime-util
+#
+################################################################################
+
+PERL_MATH_PRIME_UTIL_VERSION = 0.73
+PERL_MATH_PRIME_UTIL_SOURCE = Math-Prime-Util-$(PERL_MATH_PRIME_UTIL_VERSION).tar.gz
+PERL_MATH_PRIME_UTIL_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DANAJ
+PERL_MATH_PRIME_UTIL_LICENSE = Artistic or GPL-1.0+
+PERL_MATH_PRIME_UTIL_LICENSE_FILES = LICENSE
+PERL_MATH_PRIME_UTIL_DISTNAME = Math-Prime-Util
+
+$(eval $(perl-package))