summaryrefslogtreecommitdiff
path: root/core/mpfr/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/mpfr/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/mpfr/PKGBUILD')
-rw-r--r--core/mpfr/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/core/mpfr/PKGBUILD b/core/mpfr/PKGBUILD
new file mode 100644
index 000000000..89a3b1b25
--- /dev/null
+++ b/core/mpfr/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 101731 2010-12-01 03:50:59Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=mpfr
+_basever=3.0.0
+_patchlevel=p8
+pkgver=${_basever}.${_patchlevel}
+pkgrel=1
+pkgdesc="Multiple-precision floating-point library"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.mpfr.org/"
+depends=('gmp>=5.0')
+options=('!libtool')
+install=mpfr.install
+source=(http://www.mpfr.org/mpfr-current/mpfr-${_basever}.tar.xz
+ mpfr-${_basever}-${_patchlevel}.patch)
+md5sums=('8ab3bef2864b8c6e6a291f5603141bbd'
+ 'ac4591dea9abdd7573cd05a2fce2bb14')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_basever}"
+ patch -Np1 -i ${srcdir}/${pkgname}-${_basever}-${_patchlevel}.patch
+ ./configure --prefix=/usr --enable-thread-safe --enable-shared
+ make
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_basever}"
+ make DESTDIR="${pkgdir}" install
+}