void-packages/srcpkgs/ppl/template

34 lines
820 B
Text
Raw Normal View History

# Template file for 'ppl'
pkgname=ppl
2014-06-01 19:09:50 +00:00
version=1.1
revision=2
build_style=gnu-configure
2012-07-01 13:55:22 +00:00
configure_args="--enable-interfaces=c,cxx"
2013-04-11 08:00:02 +00:00
hostmakedepends="libtool automake"
makedepends="gmp-devel>=6.0.0_2"
short_desc="The Parma Polyhedra Library"
2012-07-01 13:55:22 +00:00
homepage="http://bugseng.com/products/ppl"
license="GPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-07-01 13:55:22 +00:00
distfiles="http://bugseng.com/products/ppl/download/ftp/releases/${version}/ppl-${version}.tar.gz"
2014-06-01 19:09:50 +00:00
checksum=46f073c0626234f0b1a479356c0022fe5dc3c9cf10df1a246c9cde81f7cf284d
2013-04-11 08:00:02 +00:00
pre_configure() {
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
ppl-devel_package() {
2014-06-01 19:09:50 +00:00
depends="ppl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
for d in bin include share; do
vmove usr/${d}
done
2014-06-01 19:09:50 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}