void-packages/srcpkgs/perl-Math-Prime-Util/template
2017-09-13 20:47:26 +02:00

21 lines
737 B
Bash

# Template file for 'perl-Math-Prime-Util'
pkgname="perl-Math-Prime-Util"
version=0.66
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=68549ceddd2de0e302e24b662fa3676434267d46583b5d725e8cf6efb0fd7139
if [ -n "$CROSS_BUILD" ]; then
pre_configure() {
sed -i -e "s/^\(my \$have_gmp =\).*/\1 1;/" Makefile.PL
}
fi