aboutsummaryrefslogtreecommitdiff
path: root/libraries/assimp/assimp.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-06-19 15:49:14 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-19 23:51:58 +0700
commit4d6ab92f608daf0a93050c2d137571743873a04a (patch)
treefee6a5cf2fca50978f6db5d833cfbd9965cdb01a /libraries/assimp/assimp.SlackBuild
parent7d05cc82210001766ae576eeb6664ad442f6776d (diff)
libraries/assimp: Updated for version 3.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/assimp/assimp.SlackBuild')
-rw-r--r--libraries/assimp/assimp.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild
index 6a165aace533b..3276426c57c04 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