summaryrefslogtreecommitdiff
path: root/testing/mpfr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mpfr/PKGBUILD')
-rw-r--r--testing/mpfr/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/mpfr/PKGBUILD b/testing/mpfr/PKGBUILD
new file mode 100644
index 000000000..7e1f4c1a3
--- /dev/null
+++ b/testing/mpfr/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 118927 2011-04-09 13:01:31Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=mpfr
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="Multiple-precision floating-point library"
+arch=('i686' 'x86_64')
+url="http://www.mpfr.org/"
+license=('LGPL')
+depends=('gmp>=5.0')
+options=('!libtool')
+install=mpfr.install
+source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.xz)
+md5sums=('645882d9d179113a70af84d27086ed9f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-thread-safe --enable-shared
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}