void-packages/srcpkgs/mpfr/template

37 lines
815 B
Text
Raw Normal View History

# Template build file for 'mpfr'
pkgname=mpfr
2013-03-16 02:18:24 +00:00
version=3.1.2
revision=1
build_style=gnu-configure
configure_args="--enable-thread-safe"
makedepends="gmp-devel"
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-10-18 08:56:57 +00:00
bootstrap=yes
2013-04-17 14:16:06 +00:00
if [ -z "$IN_CHROOT" ]; then
CPPFLAGS="-I$XBPS_MASTERDIR/usr/include"
LDFLAGS="-L$XBPS_MASTERDIR/usr/lib"
fi
mpfr-devel_package() {
depends="gmp-devel mpfr>=$version"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
}
}
mpfr_package() {
pkg_install() {
vmove usr
}
}