PKGBUILDs/core/mpfr/PKGBUILD

23 lines
559 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=mpfr
pkgver=2.4.1
pkgrel=2
pkgdesc="multiple-precision floating-point library"
arch=('arm')
license=('GPL' 'LGPL')
url="http://www.mpfr.org/"
depends=('gmp>=4.2.3')
options=('!libtool')
source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.gz)
md5sums=('a70bbde2a23d82e8f3314d4293500ae4')
build() {
cd "${srcdir}/mpfr-${pkgver}"
./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}