2017-08-30 17:28:02 +02:00
|
|
|
# Template file for 'perl-Math-Prime-Util'
|
|
|
|
pkgname="perl-Math-Prime-Util"
|
2017-10-20 04:28:01 +02:00
|
|
|
version=0.68
|
2017-08-30 17:28:02 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname/perl-/}-${version}"
|
|
|
|
build_style=perl-module
|
|
|
|
hostmakedepends="perl perl-Math-Prime-Util-GMP"
|
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="${hostmakedepends}"
|
|
|
|
short_desc="Utilities related to prime numbers, including fast sieves and factoring"
|
|
|
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|
|
|
license="Artistic, GPL-1"
|
|
|
|
homepage="https://github.com/danaj/Math-Prime-Util"
|
|
|
|
distfiles="${CPAN_SITE}/Math/${pkgname/perl-/}-${version}.tar.gz"
|
2017-10-20 04:28:01 +02:00
|
|
|
checksum=80015e893f9c011f36d295fc79a6596e07cf74415947cde36c17ec8f730f8e1a
|
2017-08-31 14:18:41 +02:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
pre_configure() {
|
|
|
|
sed -i -e "s/^\(my \$have_gmp =\).*/\1 1;/" Makefile.PL
|
|
|
|
}
|
|
|
|
fi
|