From 66e64d00018ab108b910c57ca237b1fb4242c0ef Mon Sep 17 00:00:00 2001 From: Markus Hutmacher Date: Sat, 24 May 2014 08:07:45 +0700 Subject: development/ocaml: Updated for version 4.01.0 + new maintainer. Signed-off-by: Willy Sudiarto Raharjo --- development/ocaml/ocaml.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'development/ocaml/ocaml.SlackBuild') diff --git a/development/ocaml/ocaml.SlackBuild b/development/ocaml/ocaml.SlackBuild index ecc3c19006..ebd06af5d7 100644 --- a/development/ocaml/ocaml.SlackBuild +++ b/development/ocaml/ocaml.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for ocaml -# Copyright 2007-2011 Ferenc Deak +# Copyright 2007-2014 Ferenc Deak +# Copyright 2014 Markus Hutmacher # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ocaml -VERSION=3.12.1 -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.01.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar -xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -87,9 +88,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes INSTALL LICENSE README README.win32 Upgrading VERSION \ +cp -a Changes INSTALL LICENSE README VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/ocaml-3.12-refman.html > $PKG/usr/doc/$PRGNAM-$VERSION/ocaml-refman.html +tar -xvf $CWD/ocaml-4.01-refman-html.tar.gz -C $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3