blob: d4234bf7e29592756d7b5932735a0f7e661aaa8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=cgal
pkgver=4.14
pkgrel=2
pkgdesc="Efficient and reliable geometric algorithms as C++ library"
url="https://www.cgal.org/"
arch="all"
license="GPL-3.0-or-later custom" # Dual licensed under GPL-3.0+ and commercial
subpackages="$pkgname-dev $pkgname-doc"
makedepends="mpfr-dev gmp-dev mesa-dev glu-dev boost-dev cmake zlib-dev"
source="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$pkgver/CGAL-$pkgver.tar.xz"
builddir="$srcdir/CGAL-$pkgver"
# Citing from.https://github.com/CGAL/cgal/wiki/Testing#test-suite-directory
# > The test/ directory is not part of external releases.
options="!check"
build() {
mkdir -p build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
sha512sums="1f22da098a136c26fd51c7ac401212865dce7cc5110ca6a083ef6f09ead5c03a002bfd16752cb298427b84bd5b4900b52c6514f97ccd0e199ffb28e9fe640c43 CGAL-4.14.tar.xz"
|