diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-06-16 18:05:32 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-06-18 16:19:02 -0500 |
commit | b443ccfdb64162d273d71a40772263c767452d14 (patch) | |
tree | 223b308aea12feecf9d7e833a9c26f4a96511ae5 /libraries/assimp/assimp.SlackBuild | |
parent | d771c0ab973464ea2ecbc2ac45bb078143bac706 (diff) |
libraries/assimp: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/assimp/assimp.SlackBuild')
-rw-r--r-- | libraries/assimp/assimp.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild index 85ba243385ac6..6a165aace533b 100644 --- a/libraries/assimp/assimp.SlackBuild +++ b/libraries/assimp/assimp.SlackBuild @@ -23,10 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=assimp -SRCNAM=assimp- -SRCVER=${SRCVER:-3.0.1270-source-only} -VERSION=$(echo $SRCVER | cut -c1-8) -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.1.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -61,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCVER -unzip $CWD/$SRCNAM-$SRCVER.zip -cd $SRCNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |