2010-04-15 17:04:48 +00:00
|
|
|
# Template build file for 'mpc'
|
|
|
|
pkgname=mpc
|
2012-01-11 18:27:30 +00:00
|
|
|
version=0.9
|
2013-02-16 15:51:40 +00:00
|
|
|
revision=2
|
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"
|
2012-01-11 18:27:30 +00:00
|
|
|
checksum=fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac
|
2013-04-11 07:52:59 +00:00
|
|
|
|
|
|
|
mpc-devel_package() {
|
|
|
|
depends="gmp-devel mpfr-devel mpc>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mpc_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|