mpc: rebuild for -dbg pkg; cross build support.
This commit is contained in:
parent
3e90d22650
commit
2783fb8d17
2 changed files with 11 additions and 19 deletions
|
@ -1,17 +1,10 @@
|
|||
# Template file for 'mpc-devel'.
|
||||
#
|
||||
depends="gmp-devel mpfr-devel mpc"
|
||||
short_desc="${sourcepkg} - development files"
|
||||
long_desc="${long_desc}
|
||||
depends="gmp-devel mpfr-devel mpc>=${version}"
|
||||
short_desc="${short_desc} - development files"
|
||||
|
||||
This package contains files for development: headers, static libs, etc."
|
||||
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/share usr
|
||||
}
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
# Template build file for 'mpc'
|
||||
pkgname=mpc
|
||||
version=0.9
|
||||
distfiles="http://www.multiprecision.org/mpc/download/mpc-${version}.tar.gz"
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
subpackages="mpc-devel"
|
||||
configure_args="EGREP=egrep"
|
||||
makedepends="gmp-devel mpfr-devel"
|
||||
revision=1
|
||||
crossmakedepends="${makedepends}"
|
||||
short_desc="C library for the arithmetic of complex numbers"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.multiprecision.org"
|
||||
license="LGPL-3"
|
||||
distfiles="http://www.multiprecision.org/mpc/download/mpc-${version}.tar.gz"
|
||||
checksum=fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac
|
||||
long_desc="
|
||||
Mpc is a C library for the arithmetic of complex numbers with arbitrarily
|
||||
high precision and correct rounding of the result. It is built upon and
|
||||
follows the same principles as Mpfr."
|
||||
|
|
Loading…
Reference in a new issue