New package: cgal-4.9

This commit is contained in:
Pierre Allegraud 2016-12-29 02:39:37 +01:00 committed by Toyam Cox
parent 08733ea732
commit 491753e6ef
3 changed files with 36 additions and 0 deletions

View File

@ -2768,3 +2768,6 @@ libimagequant.so.0 libimagequant-2.8.2_1
libDOtherSide.so.0 dotherside-0.5.2_1
libstlink-shared.so.1 stlink-1.3.0_1
libopencsg.so.1 opencsg-1.4.2_1
libCGAL.so.12 cgal-4.9_1
libCGAL_Core.so.12 cgal-4.9_1
libCGAL_ImageIO.so.12 cgal-4.9_1

1
srcpkgs/cgal-devel Symbolic link
View File

@ -0,0 +1 @@
cgal

32
srcpkgs/cgal/template Normal file
View File

@ -0,0 +1,32 @@
# Template file for 'cgal'
pkgname="cgal"
version="4.9"
revision=1
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"
checksum="472b6154a0d62a5e78cc51772a460ffe8e8faf1f0a9639ca0054a5a7c2310f3f"
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
}
}