diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 20:42:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 20:42:06 +0700 |
commit | 7925326c06073da15d04d3806fc4e2bbe11a6d01 (patch) | |
tree | 9fbe99c127fd572deec04d3de04b6d093ca68668 /python/python-cmdln/python-cmdln.SlackBuild | |
parent | 4e1e1ffe41dd92d34b3a967e745e72b763687edc (diff) | |
download | slackbuilds-7925326c06073da15d04d3806fc4e2bbe11a6d01.tar.gz |
python/python-cmdln: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-cmdln/python-cmdln.SlackBuild')
-rw-r--r-- | python/python-cmdln/python-cmdln.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/python/python-cmdln/python-cmdln.SlackBuild b/python/python-cmdln/python-cmdln.SlackBuild index 489c6ec825..645bd3123b 100644 --- a/python/python-cmdln/python-cmdln.SlackBuild +++ b/python/python-cmdln/python-cmdln.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-cmdln -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ SRCNAM=cmdln 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 +42,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,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -unzip $CWD/$SRCNAM-$VERSION.zip +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ |