diff options
Diffstat (limited to 'libraries/CGAL/CGAL.SlackBuild')
-rw-r--r-- | libraries/CGAL/CGAL.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
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 |