5 pkgdesc="Computational Geometry Algorithms Library"
7 url="http://www.cgal.org"
8 source=(http://gforge.inria.fr/frs/download.php/$_pkgid/CGAL-$pkgver.tar.xz
10 depends=('mpfr' 'boost' 'gmp')
11 optdepends=('qt: for CGAL_Qt4')
12 makedepends=('cmake' 'xz')
13 license=('LGPL' 'custom:QPL')
14 md5sums=('797697130ff9231627521c0a38f16d2f'
15 '62a49b37ff4d04daae9b3a03365de4ef')
18 cd $srcdir/CGAL-$pkgver
19 patch -p1 < $srcdir/boost-1.48.patch
20 cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
22 make install DESTDIR=$pkgdir
24 for _license in LICENSE{,.FREE_USE,.QPL,.LGPL}; do
25 install -D -m644 $srcdir/CGAL-$pkgver/$_license $pkgdir/usr/share/licenses/$pkgname/$_license