cgal: update to 4.11.1.

Closes: #12168 [via git-merge-pr]
This commit is contained in:
maxice8 2018-03-05 09:12:44 -03:00 committed by Michael Aldridge
parent 713a9aeb71
commit 6654a1a1fd
2 changed files with 9 additions and 14 deletions

View File

@ -1,24 +1,18 @@
# Template file for 'cgal'
pkgname="cgal"
version="4.10"
revision=3
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/archive/releases/CGAL-${version}.tar.gz"
checksum=cff3081453a4b4e738ca90d3ce70ddd888b8a23e8acb735a4917653ad51b3045
wrksrc="cgal-releases-CGAL-${version}"
distfiles="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-${version}/CGAL-${version}.tar.xz"
checksum=fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b
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}"
@ -26,7 +20,7 @@ cgal-devel_package() {
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/*.so"
vmove usr/lib/CGAL
}
}

1
srcpkgs/cgal/update Normal file
View File

@ -0,0 +1 @@
pattern="releases/CGAL-\K[\d\.]*(?=\.tar\.gz)"