2017-08-30 17:28:02 +02:00
|
|
|
# Template file for 'perl-Math-Prime-Util-GMP'
|
|
|
|
pkgname="perl-Math-Prime-Util-GMP"
|
|
|
|
version=0.46
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname/perl-/}-${version}"
|
|
|
|
build_style=perl-module
|
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="${hostmakedepends} gmp-devel"
|
|
|
|
depends="${hostmakedepends}"
|
|
|
|
short_desc="Utilities related to prime numbers and factoring, using GMP"
|
|
|
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|
|
|
license="Artistic, GPL-1"
|
|
|
|
homepage="https://github.com/danaj/Math-Prime-Util-GMP"
|
|
|
|
distfiles="${CPAN_SITE}/Math/${pkgname/perl-/}-${version}.tar.gz"
|
|
|
|
checksum=bf37ab27ca155aaa274688d7115bbefc93e28d4a6ba4faa193bb0a1b5f87e45f
|
2017-08-31 14:18:41 +02:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
pre_configure() {
|
|
|
|
sed -i -e "s/^check_lib_or_exit(lib => 'gmp', header => 'gmp.h');//" Makefile.PL
|
|
|
|
}
|
|
|
|
fi
|