diff options
author | Panagiotis Nikolaou <hostmaster@slackonly.com> | 2017-02-06 09:53:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-10 07:16:12 +0700 |
commit | 87c0a1cbea0f2ff8d37c5c0e1c6b1892101ccc27 (patch) | |
tree | 5eca7b37895e6bc401eb7ef444c5d42053e1e46b /development/camlp5/camlp5.SlackBuild | |
parent | 515c1e036792f6218fdb5217b0938a4a7b1c29b5 (diff) |
development/camlp5: Updated for version 6.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/camlp5/camlp5.SlackBuild')
-rw-r--r-- | development/camlp5/camlp5.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/development/camlp5/camlp5.SlackBuild b/development/camlp5/camlp5.SlackBuild index 42aa2655a007..152304b966c9 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 \ |