From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/perl-math-prime-util: new package
Date: Wed, 18 Dec 2019 21:18:44 +0100 [thread overview]
Message-ID: <20191218201845.846-3-patrickdepinguin@gmail.com> (raw)
In-Reply-To: <20191218201845.846-1-patrickdepinguin@gmail.com>
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Standard generated with utils/scancpan.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/perl-math-prime-util/Config.in | 11 +++++++++++
.../perl-math-prime-util/perl-math-prime-util.hash | 6 ++++++
.../perl-math-prime-util/perl-math-prime-util.mk | 14 ++++++++++++++
5 files changed, 33 insertions(+)
create mode 100644 package/perl-math-prime-util/Config.in
create mode 100644 package/perl-math-prime-util/perl-math-prime-util.hash
create mode 100644 package/perl-math-prime-util/perl-math-prime-util.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 92105aae98..8785f0fdf8 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2332,6 +2332,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/
diff --git a/package/Config.in b/package/Config.in
index 6d10df8561..ec76b58bc3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000000..1c7b700ac7
--- /dev/null
+++ b/package/perl-math-prime-util/Config.in
@@ -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
index 0000000000..789f3a35fc
--- /dev/null
+++ b/package/perl-math-prime-util/perl-math-prime-util.hash
@@ -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
index 0000000000..5781fe75d6
--- /dev/null
+++ b/package/perl-math-prime-util/perl-math-prime-util.mk
@@ -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))
--
2.23.0
next prev parent reply other threads:[~2019-12-18 20:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 20:18 [Buildroot] [PATCH 1/3] package/perl-crypt-openssl-aes: new package Thomas De Schampheleire
2019-12-18 20:18 ` [Buildroot] [PATCH 2/3] package/perl-math-bigint: " Thomas De Schampheleire
2019-12-22 12:07 ` François Perrad
2019-12-22 13:27 ` Thomas De Schampheleire
2019-12-22 13:32 ` Thomas De Schampheleire
2019-12-22 14:53 ` François Perrad
2019-12-22 14:49 ` François Perrad
2019-12-18 20:18 ` Thomas De Schampheleire [this message]
2019-12-22 10:02 ` [Buildroot] [PATCH 1/3] package/perl-crypt-openssl-aes: " Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191218201845.846-3-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.