void-packages/srcpkgs/mpc/template

30 lines
708 B
Text
Raw Normal View History

# Template build file for 'mpc'
pkgname=mpc
2012-01-11 18:27:30 +00:00
version=0.9
revision=2
build_style=gnu-configure
2012-01-11 18:27:30 +00:00
configure_args="EGREP=egrep"
makedepends="gmp-devel mpfr-devel"
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"
2012-01-11 18:27:30 +00:00
checksum=fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac
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
}
}