diff --git a/srcpkgs/libqhull b/srcpkgs/libqhull new file mode 120000 index 00000000000..e67d34672e5 --- /dev/null +++ b/srcpkgs/libqhull @@ -0,0 +1 @@ +qhull \ No newline at end of file diff --git a/srcpkgs/libqhull-devel b/srcpkgs/libqhull-devel new file mode 120000 index 00000000000..e67d34672e5 --- /dev/null +++ b/srcpkgs/libqhull-devel @@ -0,0 +1 @@ +qhull \ No newline at end of file diff --git a/srcpkgs/qhull/template b/srcpkgs/qhull/template new file mode 100644 index 00000000000..fe4ad677b5c --- /dev/null +++ b/srcpkgs/qhull/template @@ -0,0 +1,30 @@ +# 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 " +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" + } +} +