aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libmpc/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/libmpc/APKBUILD b/main/libmpc/APKBUILD
index 92a4563330..5953433bc8 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"