diff options
Diffstat (limited to 'source/l/libproxy/libproxy.SlackBuild')
-rwxr-xr-x | source/l/libproxy/libproxy.SlackBuild | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/source/l/libproxy/libproxy.SlackBuild b/source/l/libproxy/libproxy.SlackBuild index fecbceb8..0c2a18cc 100755 --- a/source/l/libproxy/libproxy.SlackBuild +++ b/source/l/libproxy/libproxy.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh -# Slackware build script for libproxy - -# Copyright 2009,2010,2011 Robby Workman Northport, AL, USA +# Copyright 2009, 2010, 2011 Robby Workman Northport, AL, USA +# Copyright 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +22,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=libproxy -VERSION=${VERSION:-0.4.7} -BUILD=${BUILD:-1} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -67,13 +66,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# 0.4.7 won't build against seamonkey's nss stuff, and the first commit in -# svn after that release disables its use in favor of nspr and js185 -zcat $CWD/only_link_mozjs185.diff.gz | patch -p0 --verbose || exit 1 - -# Include unistd.h for gcc-4.7.x: -zcat $CWD/gcc47-include-unistd.h.diff.gz | patch -p1 --verbose || exit 1 - cmake . \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ |