2010-03-13 23:25:19 +08:00
|
|
|
# $Id: PKGBUILD 65102 2010-01-24 11:05:37Z allan $
|
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: damir <damir@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=mpfr
|
|
|
|
pkgver=2.4.2
|
2010-03-22 04:46:45 +08:00
|
|
|
pkgrel=2
|
2010-03-13 23:25:19 +08:00
|
|
|
pkgdesc="multiple-precision floating-point library"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
license=('LGPL')
|
|
|
|
url="http://www.mpfr.org/"
|
|
|
|
depends=('gmp>=4.2.4' 'texinfo')
|
|
|
|
options=('!libtool')
|
|
|
|
install=mpfr.install
|
|
|
|
source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.bz2)
|
|
|
|
md5sums=('89e59fe665e2b3ad44a6789f40b059a0')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
|
|
|
|
make || return 1
|
|
|
|
make check || return 1
|
|
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
cd "${pkgdir}/usr/share/info" || return 1
|
|
|
|
rm -f dir
|
|
|
|
gzip * || return 1
|
|
|
|
}
|