22 lines
734 B
Bash
22 lines
734 B
Bash
# Template file for 'perl-Math-Prime-Util-GMP'
|
|
pkgname=perl-Math-Prime-Util-GMP
|
|
version=0.52
|
|
revision=2
|
|
wrksrc="${pkgname/perl-/}-${version}"
|
|
build_style=perl-module
|
|
hostmakedepends="perl"
|
|
makedepends="perl gmp-devel"
|
|
depends="perl"
|
|
short_desc="Utilities related to prime numbers and factoring, using GMP"
|
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://github.com/danaj/Math-Prime-Util-GMP"
|
|
distfiles="${CPAN_SITE}/Math/${pkgname/perl-/}-${version}.tar.gz"
|
|
checksum=2697c7fd5c7e35fdec7f50ed56a67be807a2f22657589e637dad3592744003be
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
pre_configure() {
|
|
sed -i -e "s/^check_lib_or_exit(lib => 'gmp', header => 'gmp.h');//" Makefile.PL
|
|
}
|
|
fi
|