mpfr: move so symlinks to -devel pkg; not a bootstrap pkg.
This commit is contained in:
parent
0a1a2af947
commit
efc3b1ab4f
1 changed files with 3 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'mpfr'
|
||||
pkgname=mpfr
|
||||
version=3.1.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-thread-safe"
|
||||
makedepends="gmp-devel"
|
||||
|
@ -12,13 +12,6 @@ homepage="http://www.mpfr.org"
|
|||
distfiles="${homepage}/mpfr-current/$pkgname-$version.tar.bz2"
|
||||
checksum=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
|
||||
|
||||
bootstrap=yes
|
||||
|
||||
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"
|
||||
|
@ -26,11 +19,12 @@ mpfr-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/share
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
mpfr_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue