mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
559 B
Bash
23 lines
559 B
Bash
|
# 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
|
||
|
}
|
||
|
|