From b19bb2e455bcd6ed4da353c975d3aae5509fd063 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Fri, 12 Aug 2016 08:28:25 -0700 Subject: libraries/platform: Updated for version 2.0.1. Signed-off-by: Larry Hajali --- libraries/platform/platform.SlackBuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libraries/platform/platform.SlackBuild') 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 +# Copyright 2015-2016 Larry Hajali # 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" \ -- cgit v1.2.3