diff options
author | root <root@rshg054.dnsready.net> | 2011-11-07 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-07 23:14:55 +0000 |
commit | effb26c3b1f00bf8bea4e2562f07f9a06eb67606 (patch) | |
tree | 428924ac7d0c871e4b7ca1fed9e221e5ef7b8081 /testing/mpfr/PKGBUILD | |
parent | a4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff) |
Mon Nov 7 23:14:55 UTC 2011
Diffstat (limited to 'testing/mpfr/PKGBUILD')
-rw-r--r-- | testing/mpfr/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/mpfr/PKGBUILD b/testing/mpfr/PKGBUILD new file mode 100644 index 000000000..42755ee8e --- /dev/null +++ b/testing/mpfr/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 142238 2011-11-07 03:27:16Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: damir <damir@archlinux.org> + +pkgname=mpfr +_pkgver=3.1.0 +_patchlevel=p3 +pkgver=${_pkgver}.${_patchlevel} +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{,.asc} + mpfr-${_pkgver}.${_patchlevel}.patch) +md5sums=('6e495841bb026481567006cec0f821c3' + '293374ee4b01527f8f7889fdfa9016f8' + 'd65858ccddbea968d6580124320fb6a0') + +build() { + cd "${srcdir}/${pkgname}-${_pkgver}" + patch -Np1 -i $srcdir/mpfr-${_pkgver}.${_patchlevel}.patch + ./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 +} |