mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
libraries/CGAL: Updated for version 4.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
1872e335c7
commit
8272381e16
2 changed files with 6 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue