void-packages/srcpkgs/qhull/template
2014-12-11 20:16:21 +01:00

31 lines
760 B
Plaintext

# Template file for 'qhull'
pkgname="qhull"
version="2012.1"
revision=1
short_desc="Computes volumes, surface areas and approximations to the convex hull"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-3"
homepage="http://www.qhull.org"
distfiles="http://www.qhull.org/download/${pkgname}-${version}-src.tgz"
checksum="a35ecaa610550b7f05c3ce373d89c30cf74b059a69880f03080c556daebcff88"
hostmakedepends="cmake"
build_style="cmake"
libqhull_package() {
shorst_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libqhull-devel_package() {
depends="${makedepends} libqhull>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}