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

22 lines
747 B
Bash
Raw Normal View History

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
if [ -n "$CROSS_BUILD" ]; then
pre_configure() {
sed -i -e "s/^check_lib_or_exit(lib => 'gmp', header => 'gmp.h');//" Makefile.PL
}
fi