void-packages/srcpkgs/ppl/template
cr6git 2ce3944e25 ppl: fix homepage, distfiles, checksum
Closes: #10449 [via git-merge-pr]
2018-01-06 14:23:06 +01:00

33 lines
826 B
Bash

# Template file for 'ppl'
pkgname=ppl
version=1.2
revision=1
build_style=gnu-configure
configure_args="--enable-interfaces=c,cxx"
hostmakedepends="libtool automake"
makedepends="gmp-devel gmpxx-devel"
short_desc="The Parma Polyhedra Library"
homepage="http://www.bugseng.com/parma-polyhedra-library"
license="GPL-3"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="ftp://ftp.cs.unipr.it/pub/ppl/releases/${version}/ppl-${version}.tar.xz"
checksum=691f0d5a4fb0e206f4e132fc9132c71d6e33cdda168470d40ac3cf62340e9a60
pre_configure() {
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
ppl-devel_package() {
depends="ppl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
for d in bin include share; do
vmove usr/${d}
done
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}