perl-Math-Prime-Util-GMP: update to 0.51.

This commit is contained in:
maxice8 2018-08-28 20:36:49 -03:00
parent 6dfe2f8049
commit 7fb71cc0fb
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,20 +1,20 @@
# Template file for 'perl-Math-Prime-Util-GMP'
pkgname="perl-Math-Prime-Util-GMP"
version=0.50
revision=3
pkgname=perl-Math-Prime-Util-GMP
version=0.51
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="${hostmakedepends} gmp-devel"
depends="${hostmakedepends}"
depends="$hostmakedepends"
short_desc="Utilities related to prime numbers and factoring, using GMP"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="Artistic, GPL-1"
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=9cf168a30605c048850e69459ee257b7eee8ea9b902db193eafd439198ea8bab
checksum=5871e73ff2bf255c7f5e38b05267a8695bba59105a008727bab1aab262d54b9a
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
pre_configure() {
sed -i -e "s/^check_lib_or_exit(lib => 'gmp', header => 'gmp.h');//" Makefile.PL
}