void-packages/srcpkgs/perl-Math-Prime-Util-GMP/template
maxice8 9c93060a7c perl-Math-Prime-Util-GMP: update to 0.50.
Closes #9608.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2017-11-28 19:25:32 +01:00

21 lines
747 B
Bash

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