summaryrefslogtreecommitdiff
path: root/manualPorts/cgal/Pkgfile
blob: 1a37fe4f99d41c300fa5e8012d3f249238c68fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Computational Geometry Algorithms Library
# URL:         http://www.cgal.org/
# Maintainer:  Erich Eckner, crux at eckner dot net
# Depends on:  boost libgmp libmpfr eigen

name=cgal
version=6.0.1
release=1
source=(https://github.com/CGAL/cgal/releases/download/v$version/CGAL-$version.tar.xz)

build () {
   cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -S CGAL-$version
   make -C build
   make -C build DESTDIR=$PKG install

   rm -rf $PKG/usr/share/doc
}