void-packages/srcpkgs/cgal/template
2018-10-18 19:24:16 +02:00

26 lines
843 B
Bash

# Template file for 'cgal'
pkgname=cgal
version=4.11.3
revision=2
wrksrc="CGAL-${version}"
build_style=cmake
makedepends="boost-devel eigen mpfr-devel"
short_desc="Computational Geometry Algorithms Library"
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
license="GPL-3.0-or-later, LGPL-3.0-or-later"
homepage="https://www.cgal.org"
distfiles="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-${version}/CGAL-${version}.tar.xz"
checksum=3ed80bc87f00eb3c72357f5842907f828f8ab8fc66053351aab76aa10566981a
nocross=yes
cgal-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin/cgal_create_cmake_script
vmove usr/share/man/man1/cgal_create_cmake_script.1
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/CGAL
}
}