summaryrefslogtreecommitdiff
path: root/development/paramiko/paramiko.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/paramiko/paramiko.SlackBuild')
-rw-r--r--development/paramiko/paramiko.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/development/paramiko/paramiko.SlackBuild b/development/paramiko/paramiko.SlackBuild
index 43a9507c20..1090b672d5 100644
--- a/development/paramiko/paramiko.SlackBuild
+++ b/development/paramiko/paramiko.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for paramiko
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=paramiko
-VERSION=1.7.4
+VERSION=1.7.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,14 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
set -e
rm -rf $PKG
@@ -69,4 +61,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}