diff options
Diffstat (limited to 'network/proxychains/proxychains.SlackBuild')
-rw-r--r-- | network/proxychains/proxychains.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/network/proxychains/proxychains.SlackBuild b/network/proxychains/proxychains.SlackBuild index e3feb825a6..61e3aa69cd 100644 --- a/network/proxychains/proxychains.SlackBuild +++ b/network/proxychains/proxychains.SlackBuild @@ -7,22 +7,20 @@ PRGNAM=proxychains VERSION=${VERSION:-4.2.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS ChangeLog COPYING README TODO" @@ -41,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -64,7 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --host=$ARCH-slackware-linux make make install DESTDIR=$PKG |