summaryrefslogtreecommitdiff
path: root/libraries/platform/platform.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-03-22 18:53:38 -0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:10:42 +0000
commit4c59abbcce396a7b5a0896842cebf77c5bdc9dbc (patch)
treea848273b2d94290e8b1c8d23fe72dffe8dd0475b /libraries/platform/platform.SlackBuild
parent698e18b67685e5324b160e2af7ccff86251eeca2 (diff)
downloadslackbuilds-4c59abbcce396a7b5a0896842cebf77c5bdc9dbc.tar.gz
libraries/platform: Updated for version 2.1.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/platform/platform.SlackBuild')
-rw-r--r--libraries/platform/platform.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/platform/platform.SlackBuild b/libraries/platform/platform.SlackBuild
index 49d90b15fe..a468ae87f7 100644
--- a/libraries/platform/platform.SlackBuild
+++ b/libraries/platform/platform.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for platform
-# Copyright 2015-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2015-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=platform
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,7 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix cmake install path.
-patch -p1 < $CWD/platform-2.0.1-install.patch
+patch -p1 < $CWD/platform-2.1.0-install.patch
mkdir -p build
cd build
@@ -89,7 +89,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 README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md debian/copyright $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install