void-packages/srcpkgs/perl-Math-Prime-Util/template

21 lines
748 B
Bash

# Template file for 'perl-Math-Prime-Util'
pkgname=perl-Math-Prime-Util
version=0.71
revision=2
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-1.0-Perl, GPL-1.0-or-later"
homepage="https://github.com/danaj/Math-Prime-Util"
distfiles="${CPAN_SITE}/Math/${pkgname/perl-/}-${version}.tar.gz"
checksum=8ae2c4df866fa7bdad614e086f3c888258787f4d1b62382afe13e6256f0e8043
if [ "$CROSS_BUILD" ]; then
pre_configure() {
sed -i -e "s/^\(my \$have_gmp =\).*/\1 1;/" Makefile.PL
}
fi