2010-04-15 19:04:48 +02:00
|
|
|
# Template build file for 'mpc'
|
|
|
|
pkgname=mpc
|
2012-01-11 19:27:30 +01:00
|
|
|
version=0.9
|
2013-02-16 16:51:40 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-01-11 19:27:30 +01:00
|
|
|
configure_args="EGREP=egrep"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="gmp-devel mpfr-devel"
|
2010-04-15 19:04:48 +02:00
|
|
|
short_desc="C library for the arithmetic of complex numbers"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-16 16:51:40 +01:00
|
|
|
homepage="http://www.multiprecision.org"
|
|
|
|
license="LGPL-3"
|
|
|
|
distfiles="http://www.multiprecision.org/mpc/download/mpc-${version}.tar.gz"
|
2012-01-11 19:27:30 +01:00
|
|
|
checksum=fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac
|
2013-04-11 09:52:59 +02: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
|
|
|
|
}
|
|
|
|
}
|