summaryrefslogtreecommitdiffstats
path: root/development/camlp5/camlp5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/camlp5/camlp5.SlackBuild')
-rw-r--r--development/camlp5/camlp5.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/development/camlp5/camlp5.SlackBuild b/development/camlp5/camlp5.SlackBuild
index 42aa2655a0..152304b966 100644
--- a/development/camlp5/camlp5.SlackBuild
+++ b/development/camlp5/camlp5.SlackBuild
@@ -16,16 +16,17 @@
# Slackware build script for camlp5
# Written by adaptr (jeroen@adaptr.nl)
-# Rewrite for updated camlp5 Panagiotis Nikolaou, Karlovasi Samos, Gr
+# Rewrite for updated camlp5 Panagiotis Nikolaou, Culver City, CA
PRGNAM=camlp5
-VERSION=${VERSION:-6.16}
+VERSION=${VERSION:-6.17}
+SRCVER=rel617
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
@@ -36,8 +37,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"
@@ -55,9 +56,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \