summaryrefslogtreecommitdiff
path: root/development/p4v/p4v.SlackBuild
diff options
context:
space:
mode:
authorDavid Sullins <david.sullins@gmail.com>2017-06-18 22:20:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:16 +0700
commita30b71b97a7723f5b3ea514f330eb72907698d4d (patch)
treecab514481583d67ee6505abffe8d6d3bba060f19 /development/p4v/p4v.SlackBuild
parentf5609d28548545e3293478e44b1e56ad1cebb710 (diff)
downloadslackbuilds-a30b71b97a7723f5b3ea514f330eb72907698d4d.tar.gz
development/p4v: Updated for version 2017.2.1518788.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/p4v/p4v.SlackBuild')
-rw-r--r--development/p4v/p4v.SlackBuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index 56537a508d..414d4b7988 100644
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -33,7 +33,7 @@ set -e
LOCALVER=`tar tf p4v.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
PRGNAM=p4v
VERSION=${VERSION:-$LOCALVER}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -50,16 +50,12 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -85,9 +81,6 @@ cp -a bin $PKG/usr/bin
mv lib/p4v $PKG/usr/lib${LIBDIRSUFFIX}/p4v
mv lib/icu $PKG/usr/lib${LIBDIRSUFFIX}/p4v/icu
-# p4vc needs to be wrapped too
-mv $PKG/usr/bin/p4vc $PKG/usr/bin/p4vc.bin
-
# Adapt the path for lib/lib64
sed -i "s%prefix/lib/%prefix/lib${LIBDIRSUFFIX}/%g" $PKG/usr/bin/$PRGNAM