aboutsummaryrefslogtreecommitdiff
path: root/libraries/CGAL
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-04-28 14:12:42 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-04-28 14:12:42 +0100
commit8272381e16b495b6e62dc3fe4c8376b2766e1987 (patch)
tree70653256d603e3e6a205e7abe2682fae9e8e9794 /libraries/CGAL
parent1872e335c7fc9246a07b7aba7da34751393e1b9e (diff)
libraries/CGAL: Updated for version 4.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/CGAL')
-rw-r--r--libraries/CGAL/CGAL.SlackBuild11
-rw-r--r--libraries/CGAL/CGAL.info6
2 files changed, 6 insertions, 11 deletions
diff --git a/libraries/CGAL/CGAL.SlackBuild b/libraries/CGAL/CGAL.SlackBuild
index 8cd3beda867b0..4517da7c1227a 100644
--- a/libraries/CGAL/CGAL.SlackBuild
+++ b/libraries/CGAL/CGAL.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=CGAL
-VERSION=${VERSION:-4.11.1}
+VERSION=${VERSION:-4.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,18 +76,13 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCGAL_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
+ -DCGAL_INSTALL_MAN_DIR=man \
-DCGAL_INSTALL_CMAKE_DIR=lib${LIBDIRSUFFIX}/CGAL \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-# Path fixup: CGAL_INSTALL_CMAKE_DIR not fully honoured (thanks bosth!)
-sed -i -e "s:/usr/lib/CGAL:/usr/lib${LIBDIRSUFFIX}/CGAL:" \
- $PKG/usr/lib${LIBDIRSUFFIX}/CGAL/FindCGAL.cmake
-
-# Path fixup: MAN_INSTALL_DIR not supported
-mv $PKG/usr/share/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -101,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
rm -rf $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CHANGES INSTALL.md README VERSION \
+ AUTHORS CHANGES.md INSTALL.md README VERSION \
LICENSE LICENSE.FREE_USE LICENSE.GPL LICENSE.LGPL LICENSE.BSL \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/CGAL/CGAL.info b/libraries/CGAL/CGAL.info
index dda5f6bd932ec..e43d6cc217372 100644
--- a/libraries/CGAL/CGAL.info
+++ b/libraries/CGAL/CGAL.info
@@ -1,8 +1,8 @@
PRGNAM="CGAL"
-VERSION="4.11.1"
+VERSION="4.12"
HOMEPAGE="https://www.cgal.org/"
-DOWNLOAD="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.11.1/CGAL-4.11.1.tar.xz"
-MD5SUM="fffc5cd1db8f8e29b4893080f9e863f8"
+DOWNLOAD="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.12/CGAL-4.12.tar.xz"
+MD5SUM="b12fd24dedfa889a04abfaea565a88bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""