# Template file for 'perl-Math-Prime-Util'
pkgname=perl-Math-Prime-Util
version=0.74
revision=1
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="https://www.cpan.org/authors/id/D/DA/DANAJ/Math-Prime-Util-${version}.tar.gz"
checksum=58a966ac5deecef92407e31d2c19411ee462f48e8443211d865ff2e6c83cc140

pre_configure() {
	sed -i -e "s/^\(my \$have_gmp =\).*/\1 1;/" Makefile.PL
}
