void-packages/srcpkgs/cgal/template
maxice8 6654a1a1fd cgal: update to 4.11.1.
Closes: #12168 [via git-merge-pr]
2018-03-05 19:40:55 -08:00

26 lines
830 B
Bash

# Template file for 'cgal'
pkgname=cgal
version=4.11.1
revision=1
wrksrc="CGAL-${version}"
build_style=cmake
makedepends="boost-devel eigen gmp-devel mpfr-devel"
short_desc="Computational Geometry Algorithms Library"
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
license="GPL-3, LGPL-3"
homepage="http://www.cgal.org"
distfiles="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-${version}/CGAL-${version}.tar.xz"
checksum=fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b
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
}
}