31 lines
760 B
Text
31 lines
760 B
Text
|
# 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"
|
||
|
}
|
||
|
}
|
||
|
|