diff options
Diffstat (limited to 'core/mpfr/PKGBUILD')
-rw-r--r-- | core/mpfr/PKGBUILD | 34 |
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 +} |