diff --git a/libraries/CGAL/CGAL.SlackBuild b/libraries/CGAL/CGAL.SlackBuild index 8cd3beda86..4517da7c12 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 dda5f6bd93..e43d6cc217 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=""