void-packages/srcpkgs/libmpc/template

38 lines
898 B
Plaintext
Raw Normal View History

# Template build file for 'libmpc'
pkgname=libmpc
version=1.0.1
2013-08-19 09:43:56 +02:00
revision=3
wrksrc="mpc-${version}"
build_style=gnu-configure
2012-01-11 19:27:30 +01: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"
checksum=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff
post_install() {
mv ${DESTDIR}/usr/share/info/{mpc,libmpc}.info
}
libmpc-devel_package() {
2013-08-19 09:43:56 +02:00
replaces="mpc-devel>=0"
2013-08-19 09:14:08 +02:00
depends="gmp-devel mpfr-devel libmpc-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}
libmpc_package() {
2013-08-19 09:43:56 +02:00
replaces="mpc-0.9_2"
pkg_install() {
vmove usr
}
}