mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
development/camlp5: Updated for version 6.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3326b014a5
commit
ebd4a7997d
2 changed files with 13 additions and 12 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="camlp5"
|
||||
VERSION="6.16"
|
||||
HOMEPAGE="http://camlp5.gforge.inria.fr/"
|
||||
DOWNLOAD="http://camlp5.gforge.inria.fr/distrib/src/camlp5-6.16.tgz"
|
||||
MD5SUM="c096732e42e61629d4a640be15790dba"
|
||||
VERSION="6.17"
|
||||
HOMEPAGE="https://camlp5.github.io/"
|
||||
DOWNLOAD="https://cytranet.dl.sourceforge.net/project/slackbuildsdirectlinks/camlp5/camlp5-rel617.tar.gz"
|
||||
MD5SUM="572e0fa053715e40a40415ea3ca5d4ea"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ocaml"
|
||||
|
|
Loading…
Reference in a new issue