diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/mpfr/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/main/mpfr/APKBUILD b/main/mpfr/APKBUILD index c58f2cac7..63914e04b 100644 --- a/main/mpfr/APKBUILD +++ b/main/mpfr/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mpfr -pkgver=2.4.1 +pkgver=2.4.2 pkgrel=0 pkgdesc="multiple-precision floating-point library" url="http://www.mpfr.org/" license="GPL LGPL" -depends="gmp" -makedepends="gmp-dev texinfo" +depends= +makedepends="gcc>=4.4.2 gmp-dev texinfo" source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2" subpackages="$pkgname-doc $pkgname-dev" @@ -16,6 +16,11 @@ build() { --disable-thread-safe \ --enable-shared || return 1; make || return 1; + make check +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="${pkgdir}" install || return 1; } -md5sums="c5ee0a8ce82ad55fe29ac57edd35d09e mpfr-2.4.1.tar.bz2" +md5sums="89e59fe665e2b3ad44a6789f40b059a0 mpfr-2.4.2.tar.bz2" |