diff options
Diffstat (limited to 'main/mpfr')
-rw-r--r-- | main/mpfr/APKBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/mpfr/APKBUILD b/main/mpfr/APKBUILD new file mode 100644 index 000000000..c58f2cac7 --- /dev/null +++ b/main/mpfr/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=mpfr +pkgver=2.4.1 +pkgrel=0 +pkgdesc="multiple-precision floating-point library" +url="http://www.mpfr.org/" +license="GPL LGPL" +depends="gmp" +makedepends="gmp-dev texinfo" +source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2" +subpackages="$pkgname-doc $pkgname-dev" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-thread-safe \ + --enable-shared || return 1; + make || return 1; + make DESTDIR="${pkgdir}" install || return 1; +} +md5sums="c5ee0a8ce82ad55fe29ac57edd35d09e mpfr-2.4.1.tar.bz2" |