mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 14:32:14 +01:00
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=cgal
|
|
pkgver=4.14
|
|
pkgrel=5
|
|
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=None -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="1f22da098a136c26fd51c7ac401212865dce7cc5110ca6a083ef6f09ead5c03a002bfd16752cb298427b84bd5b4900b52c6514f97ccd0e199ffb28e9fe640c43 CGAL-4.14.tar.xz"
|