# Maintainer: Luis Henrique # Former Maintainer: R S Ananda Murthy pkgname=qhull pkgver=2003.1 pkgrel=1lm source=("http://www.qhull.org/download/$pkgname-$pkgver.tar.gz") 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 \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug 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 }