diff options
Diffstat (limited to 'libraries/platform/platform.SlackBuild')
-rw-r--r-- | libraries/platform/platform.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libraries/platform/platform.SlackBuild b/libraries/platform/platform.SlackBuild index e9d1b008a9..49d90b15fe 100644 --- a/libraries/platform/platform.SlackBuild +++ b/libraries/platform/platform.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for platform -# Copyright 2015 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2015-2016 Larry Hajali <larryhaja[at]gmail[dot]com> # 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=platform -VERSION=${VERSION:-1.0.10} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix cmake install path. +patch -p1 < $CWD/platform-2.0.1-install.patch + mkdir -p build cd build cmake -G "Unix Makefiles" \ |