From 491753e6ef4856741b5270d7c403d57cdeff546f Mon Sep 17 00:00:00 2001 From: Pierre Allegraud Date: Thu, 29 Dec 2016 02:39:37 +0100 Subject: [PATCH] New package: cgal-4.9 --- common/shlibs | 3 +++ srcpkgs/cgal-devel | 1 + srcpkgs/cgal/template | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 120000 srcpkgs/cgal-devel create mode 100644 srcpkgs/cgal/template diff --git a/common/shlibs b/common/shlibs index 2d91b994b2..3168b68276 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/cgal-devel b/srcpkgs/cgal-devel new file mode 120000 index 0000000000..300787889a --- /dev/null +++ b/srcpkgs/cgal-devel @@ -0,0 +1 @@ +cgal \ No newline at end of file diff --git a/srcpkgs/cgal/template b/srcpkgs/cgal/template new file mode 100644 index 0000000000..d443eabc95 --- /dev/null +++ b/srcpkgs/cgal/template @@ -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 " +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 + } +}