2017-08-30 15:28:02 +00:00
|
|
|
# Template file for 'perl-Math-Prime-Util'
|
|
|
|
pkgname="perl-Math-Prime-Util"
|
|
|
|
version=0.65
|
|
|
|
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"
|
|
|
|
checksum=26dbcdfe8d0f7efdc049a449430acc2d7b014746cd265db046137e89da5fb7aa
|
2017-08-31 12:18:41 +00:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
pre_configure() {
|
|
|
|
sed -i -e "s/^\(my \$have_gmp =\).*/\1 1;/" Makefile.PL
|
|
|
|
}
|
|
|
|
fi
|