updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / mpfr2 / PKGBUILD
blob40156f2da5cfbf273898c9dad640f6fc3c07cead
1 # $Id: PKGBUILD 72637 2010-03-19 02:59:39Z allan $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: damir <damir@archlinux.org>
4 # Contributor: mupuf <martin.peres@ensi-bourges.fr>
6 pkgname=mpfr2
7 pkgver=2.4.2
8 pkgrel=2
9 pkgdesc="Multiple-precision floating-point library (shared object only)"
10 arch=('i686' 'x86_64')
11 license=('LGPL')
12 url="http://www.mpfr.org/"
13 depends=('gmp>=5.0')
14 options=('!libtool')
15 install=mpfr.install
16 source=(http://www.mpfr.org/mpfr-2.4.2/mpfr-${pkgver}.tar.bz2)
17 md5sums=('89e59fe665e2b3ad44a6789f40b059a0')
19 build() {
20   cd "${srcdir}/mpfr-${pkgver}"
21   ./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
22   make || return 1
23   #make check || return 1
24   make DESTDIR="${pkgdir}" install || return 1
26   rm "${pkgdir}/usr/share" -r
27   rm "${pkgdir}/usr/include" -r
28   rm "${pkgdir}/usr/lib/libmpfr.a"
29   rm "${pkgdir}/usr/lib/libmpfr.so"