22 lines
747 B
Bash
22 lines
747 B
Bash
# Template file for 'perl-Math-Prime-Util-GMP'
|
|
pkgname="perl-Math-Prime-Util-GMP"
|
|
version=0.49
|
|
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=a1345d3bf54d16fd8136b55a8418700bd11ce4ae19521742543953edb185d083
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
pre_configure() {
|
|
sed -i -e "s/^check_lib_or_exit(lib => 'gmp', header => 'gmp.h');//" Makefile.PL
|
|
}
|
|
fi
|