summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-16 13:50:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-16 13:50:31 +0000
commit18ebbc4b404ae18b6e1467e47fa22c719421adae (patch)
treee8f88a03f8cce36568793ee3342768845777d9cf /main
parente79bc4c7bb9aba15d24ed4c2e2e5bf21e1d3c704 (diff)
downloadaports-18ebbc4b404ae18b6e1467e47fa22c719421adae.tar.bz2
aports-18ebbc4b404ae18b6e1467e47fa22c719421adae.tar.xz
main/mpfr: upgrade to 2.4.2
Diffstat (limited to 'main')
-rw-r--r--main/mpfr/APKBUILD13
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"