summaryrefslogtreecommitdiff
path: root/python/python-tlslite/python-tlslite.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 21:13:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commitffcddb3589292e86b55cf02c87d7ce61c01cb91d (patch)
tree43ee68a1c8173999c4aaee26db7ad6a40234c1a9 /python/python-tlslite/python-tlslite.SlackBuild
parent8f8bf51d0e6157b1f9cf068908ac298502f8d24e (diff)
downloadslackbuilds-ffcddb3589292e86b55cf02c87d7ce61c01cb91d.tar.gz
python/python-tlslite: Updated for version 0.4.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-tlslite/python-tlslite.SlackBuild')
-rw-r--r--python/python-tlslite/python-tlslite.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/python-tlslite/python-tlslite.SlackBuild b/python/python-tlslite/python-tlslite.SlackBuild
index dfbba0a2b8..2d780c1244 100644
--- a/python/python-tlslite/python-tlslite.SlackBuild
+++ b/python/python-tlslite/python-tlslite.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-tlslite
-# Copyright 2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
PRGNAM=python-tlslite
SRCNAM=tlslite
-VERSION=${VERSION:-0.4.6}
+VERSION=${VERSION:-0.4.9}
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
@@ -41,8 +41,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"
@@ -76,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README PKG-INFO docs/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install