2008-10-20 23:49:59 +00:00
|
|
|
# Template build file for 'mpfr'
|
|
|
|
pkgname=mpfr
|
2013-03-16 02:18:24 +00:00
|
|
|
version=3.1.2
|
2014-05-19 08:18:19 +00:00
|
|
|
revision=3
|
|
|
|
bootstrap=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2008-11-26 10:53:09 +00:00
|
|
|
configure_args="--enable-thread-safe"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="gmp-devel"
|
2008-10-20 23:49:59 +00:00
|
|
|
short_desc="Library for multiple-precision floating-point computations"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-17 07:51:30 +00:00
|
|
|
license="LGPL-3"
|
2012-07-04 06:13:45 +00:00
|
|
|
homepage="http://www.mpfr.org"
|
|
|
|
distfiles="${homepage}/mpfr-current/$pkgname-$version.tar.bz2"
|
2013-03-16 02:18:24 +00:00
|
|
|
checksum=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
|
2013-04-11 07:52:59 +00:00
|
|
|
|
2014-05-19 08:18:19 +00:00
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
|
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
|
|
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
|
|
fi
|
|
|
|
|
2013-04-11 07:52:59 +00:00
|
|
|
mpfr-devel_package() {
|
2014-05-19 08:18:19 +00:00
|
|
|
depends="gmp-devel mpfr>=${version}_${revision}"
|
2013-04-11 07:52:59 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove "usr/lib/*.a"
|
2013-10-23 08:31:11 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 07:52:59 +00:00
|
|
|
}
|
|
|
|
}
|