PKGBUILDs/core/mpfr/PKGBUILD
2009-09-26 11:30:17 -05:00

23 lines
582 B
Bash

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
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=/opt --enable-thread-safe --enable-shared || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}