summaryrefslogtreecommitdiff
path: root/manualPorts/cgal/Pkgfile
blob: 8af0a89f44c80b1cd151a941be4d12ffaac0e06b (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=5.5.2
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
}