diff options
author | Erich Eckner <git@eckner.net> | 2022-06-19 17:38:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-06-19 17:39:51 +0200 |
commit | 4c92dd2f521a1763895c84a5c068d1dc5c791435 (patch) | |
tree | 63db64081e0a9c4a77f78ecdf0bca24c46cd9f31 /manualPorts/cgal/Pkgfile | |
parent | af4d8ec2bf275b23ab495a4682f1581660692e9e (diff) | |
download | crux-ports-4c92dd2f521a1763895c84a5c068d1dc5c791435.tar.xz |
openscad new
Diffstat (limited to 'manualPorts/cgal/Pkgfile')
-rw-r--r-- | manualPorts/cgal/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manualPorts/cgal/Pkgfile b/manualPorts/cgal/Pkgfile new file mode 100644 index 0000000..46c3ac3 --- /dev/null +++ b/manualPorts/cgal/Pkgfile @@ -0,0 +1,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.4 +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 +} |