diff options
-rw-r--r-- | libraries/p4api/p4api.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild index 2db9d249d3..d1a2510a26 100644 --- a/libraries/p4api/p4api.SlackBuild +++ b/libraries/p4api/p4api.SlackBuild @@ -2,12 +2,16 @@ # p4api SlackBuild, R. Bailey <GooseYArd@gmail.com> -LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1` PRGNAM=p4api -VERSION=${VERSION:-$LOCALVER} +VERSION=${VERSION:-2010.1.260003} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +###sbolint off (because VERSION is being redefined) +LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1` +VERSION=${VERSION:-$LOCALVER} +###sbolint on + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; |