2016-12-29 02:39:37 +01:00
|
|
|
# Template file for 'cgal'
|
|
|
|
|
|
|
|
pkgname="cgal"
|
2017-07-29 02:39:53 +02:00
|
|
|
version="4.10"
|
2017-11-14 19:46:02 +01:00
|
|
|
revision=2
|
2016-12-29 02:39:37 +01:00
|
|
|
build_style=cmake
|
|
|
|
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/archive/releases/CGAL-${version}.tar.gz"
|
2017-09-23 21:23:40 +02:00
|
|
|
checksum=cff3081453a4b4e738ca90d3ce70ddd888b8a23e8acb735a4917653ad51b3045
|
2016-12-29 02:39:37 +01:00
|
|
|
wrksrc="cgal-releases-CGAL-${version}"
|
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
makedepends="boost-devel eigen gmp-devel mpfr-devel"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vbin ./Scripts/scripts/cgal_create_cmake_script
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|