mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
mpfr: bootstrap=yes; fix bootstrap build.
This commit is contained in:
parent
ddd48ac907
commit
448cb8af10
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template build file for 'mpfr'
|
# Template build file for 'mpfr'
|
||||||
pkgname=mpfr
|
pkgname=mpfr
|
||||||
version=3.1.2
|
version=3.1.2
|
||||||
revision=2
|
revision=3
|
||||||
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-thread-safe"
|
configure_args="--enable-thread-safe"
|
||||||
makedepends="gmp-devel"
|
makedepends="gmp-devel"
|
||||||
|
@ -12,8 +13,13 @@ homepage="http://www.mpfr.org"
|
||||||
distfiles="${homepage}/mpfr-current/$pkgname-$version.tar.bz2"
|
distfiles="${homepage}/mpfr-current/$pkgname-$version.tar.bz2"
|
||||||
checksum=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
|
checksum=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
|
||||||
|
|
||||||
|
if [ -z "$CHROOT_READY" ]; then
|
||||||
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
||||||
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
||||||
|
fi
|
||||||
|
|
||||||
mpfr-devel_package() {
|
mpfr-devel_package() {
|
||||||
depends="gmp-devel mpfr>=$version"
|
depends="gmp-devel mpfr>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" -- development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue