summaryrefslogtreecommitdiffstats
path: root/abs/core/mpfr/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 03:13:17 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 03:13:17 (GMT)
commit54a8c5a9a2652f4fbe04665527beb80c56d67f43 (patch)
tree60bf885af3c1bcc0f687e31031f988babeee49cc /abs/core/mpfr/PKGBUILD
parentdb6794dc27508afd7458b1bb8ea989111a97baac (diff)
downloadlinhes_pkgbuild-54a8c5a9a2652f4fbe04665527beb80c56d67f43.zip
linhes_pkgbuild-54a8c5a9a2652f4fbe04665527beb80c56d67f43.tar.gz
linhes_pkgbuild-54a8c5a9a2652f4fbe04665527beb80c56d67f43.tar.bz2
mpfr:Bumped to latest.
Diffstat (limited to 'abs/core/mpfr/PKGBUILD')
-rw-r--r--abs/core/mpfr/PKGBUILD31
1 files changed, 20 insertions, 11 deletions
diff --git a/abs/core/mpfr/PKGBUILD b/abs/core/mpfr/PKGBUILD
index e53757b..3f59311 100644
--- a/abs/core/mpfr/PKGBUILD
+++ b/abs/core/mpfr/PKGBUILD
@@ -1,29 +1,38 @@
-# $Id: PKGBUILD 82426 2010-06-11 05:51:29Z allan $
+# $Id: PKGBUILD 128942 2011-06-25 14:51:58Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=mpfr
-pkgver=3.0.0
+_pkgver=3.0.1
+_patchlevel=p4
+pkgver=${_pkgver}.${_patchlevel}
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
arch=('i686' 'x86_64')
-license=('LGPL')
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=('8ab3bef2864b8c6e6a291f5603141bbd')
+source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz
+ mpfr-${_pkgver}.${_patchlevel}.patch)
+md5sums=('645882d9d179113a70af84d27086ed9f'
+ '52c2ac5ffbbbf0c68f08e89f016ba7aa')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
- make || return 1
- make check || return 1
+ 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 || return 1
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ make DESTDIR="${pkgdir}" install
}