diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2019-09-01 21:02:40 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-01 20:30:49 -0300 |
commit | 626566eded4031cb21a56da79b7b1be345879875 (patch) | |
tree | ac445083f363a59a50e506024defd83eae0f9a60 /testing/cgal | |
parent | 182828363bc08b95d411fa586db5db37778de492 (diff) | |
download | aports-626566eded4031cb21a56da79b7b1be345879875.tar.bz2 aports-626566eded4031cb21a56da79b7b1be345879875.tar.xz |
testing/cgal: New aport
Efficient and reliable geometric algorithms as C++ library
https://www.cgal.org/
Diffstat (limited to 'testing/cgal')
-rw-r--r-- | testing/cgal/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/cgal/APKBUILD b/testing/cgal/APKBUILD new file mode 100644 index 0000000000..6a8abdcbce --- /dev/null +++ b/testing/cgal/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +pkgname=cgal +pkgver=4.14 +pkgrel=0 +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" |