2013-08-19 07:11:07 +00:00
|
|
|
# Template build file for 'libmpc'
|
|
|
|
pkgname=libmpc
|
|
|
|
version=1.0.1
|
2013-08-19 07:43:56 +00:00
|
|
|
revision=3
|
2013-08-19 07:11:07 +00:00
|
|
|
wrksrc="mpc-${version}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-01-11 18:27:30 +00:00
|
|
|
configure_args="EGREP=egrep"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="gmp-devel mpfr-devel"
|
2010-04-15 17:04:48 +00:00
|
|
|
short_desc="C library for the arithmetic of complex numbers"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-16 15:51:40 +00:00
|
|
|
homepage="http://www.multiprecision.org"
|
|
|
|
license="LGPL-3"
|
|
|
|
distfiles="http://www.multiprecision.org/mpc/download/mpc-${version}.tar.gz"
|
2013-08-19 07:11:07 +00:00
|
|
|
checksum=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff
|
2013-04-11 07:52:59 +00:00
|
|
|
|
2013-08-19 07:11:07 +00:00
|
|
|
post_install() {
|
|
|
|
mv ${DESTDIR}/usr/share/info/{mpc,libmpc}.info
|
|
|
|
}
|
|
|
|
|
|
|
|
libmpc-devel_package() {
|
2013-08-19 07:43:56 +00:00
|
|
|
replaces="mpc-devel>=0"
|
2013-08-19 07:14:08 +00:00
|
|
|
depends="gmp-devel mpfr-devel libmpc-${version}_${revision}"
|
2013-04-11 07:52:59 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-08-19 07:11:07 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 07:52:59 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 07:11:07 +00:00
|
|
|
libmpc_package() {
|
2013-08-19 07:43:56 +00:00
|
|
|
replaces="mpc-0.9_2"
|
2013-04-11 07:52:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|