void-packages/srcpkgs/mpc/template

30 lines
708 B
Plaintext

# Template build file for 'mpc'
pkgname=mpc
version=0.9
revision=2
build_style=gnu-configure
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"
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
}
}