summaryrefslogtreecommitdiffstats
path: root/main/libmpc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-02-26 13:52:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-02-26 14:57:31 +0000
commitcff13817f86970dab790497279efeeaf3abcf061 (patch)
treeeaf75b06360aad1a71ba907e17d6724219a25b21 /main/libmpc/APKBUILD
parent803758c63c49c8f12889bfd66872ee90b2207ad7 (diff)
downloadaports-cff13817f86970dab790497279efeeaf3abcf061.tar.bz2
aports-cff13817f86970dab790497279efeeaf3abcf061.tar.xz
main/libmpc: upgrade to 0.9
Diffstat (limited to 'main/libmpc/APKBUILD')
-rw-r--r--main/libmpc/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/libmpc/APKBUILD b/main/libmpc/APKBUILD
index 92a456333..5953433bc 100644
--- a/main/libmpc/APKBUILD
+++ b/main/libmpc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpc
-pkgver=0.8.2
-pkgrel=1
+pkgver=0.9
+pkgrel=0
pkgdesc="Multiprecision C library"
url="http://www.multiprecision.org/"
arch="all"
@@ -20,10 +20,14 @@ prepare() {
build() {
cd "$_builddir"
+ # workaround for a bug in configure script
+ EGREP=egrep \
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ --enable-shared \
+ || return 1
make || return 1
}
@@ -32,4 +36,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-md5sums="e98267ebd5648a39f881d66797122fb6 mpc-0.8.2.tar.gz"
+md5sums="0d6acab8d214bd7d1fbbc593e83dd00d mpc-0.9.tar.gz"