summaryrefslogtreecommitdiff
path: root/python/python-memcached/python-memcached.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-memcached/python-memcached.SlackBuild')
-rw-r--r--python/python-memcached/python-memcached.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/python-memcached/python-memcached.SlackBuild b/python/python-memcached/python-memcached.SlackBuild
index 4aa9ccbcad..58c17bde24 100644
--- a/python/python-memcached/python-memcached.SlackBuild
+++ b/python/python-memcached/python-memcached.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for "python-memcached".
# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,13 +26,13 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-memcached
-VERSION=${VERSION:-1.53}
+VERSION=${VERSION:-1.58}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,8 +63,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-release-$VERSION
-tar xvf $CWD/release-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
-cd $PRGNAM-release-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \