diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-06 21:41:28 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-06 21:41:28 +0000 |
commit | 69133984246bd2931e6c9d2ef9bc5abfceea3bb5 (patch) | |
tree | 2805ffccedf1b1fe93b3aa137f519c35a8345fa9 /net | |
parent | e91a93dd12147c80f1704fbabccdbb43395d6fbd (diff) | |
download | slackbuilds-69133984246bd2931e6c9d2ef9bc5abfceea3bb5.tar.gz slackbuilds-69133984246bd2931e6c9d2ef9bc5abfceea3bb5.tar.bz2 |
tsocks: added a x86_64 patch
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@908 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net')
-rwxr-xr-x | net/proxy/tsocks/tsocks.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/proxy/tsocks/tsocks.SlackBuild b/net/proxy/tsocks/tsocks.SlackBuild index 488a26d9..bd86fba4 100755 --- a/net/proxy/tsocks/tsocks.SlackBuild +++ b/net/proxy/tsocks/tsocks.SlackBuild @@ -28,7 +28,7 @@ fi PACKAGE="tsocks" ARCH=${ARCH:=i486} VERSION=${VERSION:=1.8beta5} -BUILD=${BUILD:=1rha} +BUILD=${BUILD:=2rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} @@ -75,6 +75,10 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH fi +if [ -f "$CWD/$PACKAGE-$VERSION-$ARCH.diff" ]; then + patch -p1 < $CWD/$PACKAGE-$VERSION-$ARCH.diff || exit $ERROR_PATCH +fi + ./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR || exit $ERROR_CONF make || exit $ERROR_MAKE make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL @@ -95,7 +99,7 @@ cat << EOF > install/slack-desc # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler-----------------------------------------------------| + |-----handy-ruler-----------------------------------------------------| tsocks: tsocks (a transparent SOCKS proxying library) tsocks: tsocks: tsocks' role is to allow these non SOCKS aware applications (e.g |