summaryrefslogtreecommitdiffstats
path: root/development/ocaml/ocaml.SlackBuild
diff options
context:
space:
mode:
author Markus Hutmacher <mailing@markhu.de>2014-05-24 08:07:45 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-24 08:08:04 +0700
commit66e64d00018ab108b910c57ca237b1fb4242c0ef (patch)
tree9d316589a802a819368f7cb0d9935248e9f1f87d /development/ocaml/ocaml.SlackBuild
parent341ffe251fbb80912e5769b106a08d4d8eabefb4 (diff)
downloadslackbuilds-66e64d00018ab108b910c57ca237b1fb4242c0ef.tar.gz
slackbuilds-66e64d00018ab108b910c57ca237b1fb4242c0ef.tar.xz
development/ocaml: Updated for version 4.01.0 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ocaml/ocaml.SlackBuild')
-rw-r--r--development/ocaml/ocaml.SlackBuild13
1 files changed, 7 insertions, 6 deletions
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 <ferenc.deak@gmail.com>
+# Copyright 2007-2014 Ferenc Deak <ferenc.deak@gmail.com>
+# Copyright 2014 Markus Hutmacher <mailing@markhu.de>
# 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