aboutsummaryrefslogtreecommitdiff
path: root/python/python-memcached/python-memcached.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-04 23:37:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-04 23:55:52 +0700
commit3228aeefc184fd5f07f4088a60ecb61500716c5d (patch)
treec5c8d2f57373d95510270e19ecb8aeb83d3466c9 /python/python-memcached/python-memcached.SlackBuild
parentec5420bc756729e433b648a05f60b1c10cd64a5f (diff)
python/python-memcached: Updated for version 1.58 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 4aa9ccbcad7a7..58c17bde24d0b 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 \