diff options
Diffstat (limited to 'libraries/assimp/assimp.SlackBuild')
-rw-r--r-- | libraries/assimp/assimp.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild index 6a165aace5..3276426c57 100644 --- a/libraries/assimp/assimp.SlackBuild +++ b/libraries/assimp/assimp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for assimp -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=assimp -VERSION=${VERSION:-3.1.1} +VERSION=${VERSION:-3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,11 +67,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -if [ "$ARCH" = "x86_64" ]; then - patch -p1 < $CWD/assimp_x64.patch -fi + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build @@ -79,6 +75,8 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DASSIMP_LIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ + -DASSIMP_BUILD_TESTS=OFF \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -88,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES CREDITS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES CREDITS INSTALL LICENSE README *.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |