core/mpfr/PKGBUILD
2012-11-13 20:50:14 +00:00

39 lines
911 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=mpfr
_pkgver=3.1.1
_patchlevel=p2
pkgver=${_pkgver}.${_patchlevel}
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
arch=('x86_64')
url="http://www.mpfr.org/"
license=('LGPL')
depends=('gmp>=5.0')
options=('!libtool')
install=mpfr.install
source=(http://www.mpfr.org/mpfr-current/mpfr-${_pkgver}.tar.xz{,.asc}
mpfr-${_pkgver}-${_patchlevel}.patch)
md5sums=('91d51c41fcf2799e4ee7a7126fc95c17'
'91b187a2229211e543ba6fb82a079b2c'
'16cb87dad37d9405953756b544943ce9')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
./configure --prefix=/usr --enable-thread-safe --enable-shared
make
}
check() {
cd "${srcdir}/${pkgname}-${_pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
}