development/p4v: Updated for version 2017.2.1518788.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Sullins 2017-06-18 22:20:48 +07:00 committed by Willy Sudiarto Raharjo
parent f5609d2854
commit a30b71b97a
2 changed files with 6 additions and 13 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="p4v"
VERSION="2015.2.1458499"
VERSION="2017.2.1518788"
HOMEPAGE="https://www.perforce.com/"
DOWNLOAD="https://www.perforce.com/downloads/perforce/r15.2/bin.linux26x86/p4v.tgz"
MD5SUM="4d34c68f26b2143d8f0f39c1ff6015ff"
DOWNLOAD_x86_64="https://www.perforce.com/downloads/perforce/r15.2/bin.linux26x86_64/p4v.tgz"
MD5SUM_x86_64="68a8e520e3257af7d3c641af7d379f28"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://www.perforce.com/downloads/perforce/r17.2/bin.linux26x86_64/p4v.tgz"
MD5SUM_x86_64="307232725102c3ec3bfac5daee1b355f"
REQUIRES=""
MAINTAINER="David Sullins"
EMAIL="david.sullins@gmail.com"