summaryrefslogtreecommitdiff
path: root/python/pypy3/pypy3.SlackBuild
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2016-12-29 19:23:19 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:41 +0700
commitfe90a0547bbd1bf4f6cdd14f66507a4711723588 (patch)
treea1c6a774170f117cec42249f38465dea1d46bdf9 /python/pypy3/pypy3.SlackBuild
parentc08e0e0bf549971d72cd1ae435f9e1a6c8eb7087 (diff)
downloadslackbuilds-fe90a0547bbd1bf4f6cdd14f66507a4711723588.tar.gz
python/pypy3: Updated for version 5.5_alpha.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'python/pypy3/pypy3.SlackBuild')
-rw-r--r--python/pypy3/pypy3.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/python/pypy3/pypy3.SlackBuild b/python/pypy3/pypy3.SlackBuild
index 055df4e556..0143be73d9 100644
--- a/python/pypy3/pypy3.SlackBuild
+++ b/python/pypy3/pypy3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pypy3
-# Copyright 2015 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2015-2016 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pypy3
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-5.5_alpha}
+SRCNAM=pypy3.3
+SRCVER=$(echo $VERSION | tr '_' '-')
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,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"
@@ -59,9 +61,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-linux_$ARCH-portable
-tar xvf $CWD/$PRGNAM-$VERSION-linux_$ARCH-portable.tar.bz2
-cd $PRGNAM-$VERSION-linux_$ARCH-portable
+rm -rf $SRCNAM-$SRCVER-*-linux_$ARCH-portable
+tar xvf $CWD/$SRCNAM-$SRCVER-*-linux_$ARCH-portable.tar.bz2
+cd $SRCNAM-$SRCVER-*-linux_$ARCH-portable
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \