summaryrefslogtreecommitdiff
path: root/python/pypy3/pypy3.SlackBuild
diff options
context:
space:
mode:
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 \