summaryrefslogtreecommitdiff
path: root/libraries/assimp
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-13 12:41:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-13 12:41:32 +0700
commit31a6e5a2b2263ef7e096913eadcea3656987ff24 (patch)
treeeb3d8d608266a270f8be2c23450ea6c07af001e8 /libraries/assimp
parentda2bf3fc36247d4fa0671d01ec17cce927a1d82f (diff)
downloadslackbuilds-31a6e5a2b2263ef7e096913eadcea3656987ff24.tar.gz
libraries/assimp: Use source only.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/assimp')
-rw-r--r--libraries/assimp/assimp.SlackBuild10
-rw-r--r--libraries/assimp/assimp.info4
2 files changed, 7 insertions, 7 deletions
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild
index 1a955d1385..85ba243385 100644
--- a/libraries/assimp/assimp.SlackBuild
+++ b/libraries/assimp/assimp.SlackBuild
@@ -24,9 +24,9 @@
PRGNAM=assimp
SRCNAM=assimp-
-VERSION=${VERSION:-3.0.1270}
-SRCVER=$VERSION-full
-BUILD=${BUILD:-1}
+SRCVER=${SRCVER:-3.0.1270-source-only}
+VERSION=$(echo $SRCVER | cut -c1-8)
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION-sdk
+rm -rf $SRCNAM-$SRCVER
unzip $CWD/$SRCNAM-$SRCVER.zip
-cd $SRCNAM-$VERSION-sdk
+cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/libraries/assimp/assimp.info b/libraries/assimp/assimp.info
index 1a755dd0c0..532474abc0 100644
--- a/libraries/assimp/assimp.info
+++ b/libraries/assimp/assimp.info
@@ -1,8 +1,8 @@
PRGNAM="assimp"
VERSION="3.0.1270"
HOMEPAGE="http://assimp.sourceforge.net/index.html"
-DOWNLOAD="http://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-full.zip"
-MD5SUM="0038b9d7074265643ca787682baabbf6"
+DOWNLOAD="http://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip"
+MD5SUM="52aa4cf4e34e6b2a9c5f6c0b3c319af1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libminizip"