aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpfr3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mpfr3/APKBUILD')
-rw-r--r--main/mpfr3/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/mpfr3/APKBUILD b/main/mpfr3/APKBUILD
new file mode 100644
index 0000000000..54e07b2832
--- /dev/null
+++ b/main/mpfr3/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mpfr3
+pkgver=3.0.0
+pkgrel=0
+pkgdesc="multiple-precision floating-point library"
+url="http://www.mpfr.org/"
+license="GPL LGPL"
+depends=
+makedepends="gmp5-dev texinfo"
+source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2"
+subpackages="$pkgname-doc mpfr-dev:dev"
+
+_builddir="$srcdir"/mpfr-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --enable-shared || return 1;
+ make || return 1;
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install || return 1;
+}
+
+dev() {
+ replaces=mpfr
+ default_dev
+}
+md5sums="f45bac3584922c8004a10060ab1a8f9f mpfr-3.0.0.tar.bz2"