#Maintainer: R S Ananda Murthy pkgname=qhull pkgver=2003.1 pkgrel=1am arch=i486 source=("http://www.qhull.org/download/$pkgname-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/rsamurti/$pkgname docs=("Announce.txt" "COPYING.txt" "README.txt" "REGISTER.txt") url=http://www.qhull.org/ CFLAGS="$CFLAGS -fno-strict-aliasing" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Qhull (Program for computation of convex hull)" "Program to compute the convex hull, Delaunay triangulation, Voronoi" "diagram, halfspace intersection about a point, furthest-site Delaunay" "triangulation, and furthest-site Voronoi diagram. The software runs in" "2-d, 3-d, 4-d, and higher dimensions. Qhull implements the Quickhull" "algorithm for computing the convex hull. It handles roundoff errors" "from floating point arithmetic. Qhull also computes volumes, surface" "areas, and approximations to the convex hull." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var \ --sysconfdir=/etc --disable-debug --libdir=/usr/lib${LIBDIRSUFFIX} make || return 1 make DESTDIR=$startdir/pkg install mv $startdir/pkg/usr/share/doc/qhull/* $startdir/pkg/usr/doc/$pkgname-$pkgver rm -rf $startdir/pkg/usr/share }