summaryrefslogtreecommitdiff
path: root/development/ocaml
diff options
context:
space:
mode:
Diffstat (limited to 'development/ocaml')
-rw-r--r--development/ocaml/configure.patch6
-rw-r--r--development/ocaml/ocaml.SlackBuild13
-rw-r--r--development/ocaml/ocaml.info14
3 files changed, 17 insertions, 16 deletions
diff --git a/development/ocaml/configure.patch b/development/ocaml/configure.patch
index 2f91abe106..a57b19fb56 100644
--- a/development/ocaml/configure.patch
+++ b/development/ocaml/configure.patch
@@ -1,6 +1,6 @@
---- configure.orig 2011-07-04 23:15:01.000000000 +0200
-+++ configure 2011-11-05 15:17:01.946744829 +0100
-@@ -1600,6 +1600,10 @@
+--- configure_old 2014-05-23 22:45:22.000000000 +0200
++++ configure 2014-05-23 22:45:31.000000000 +0200
+@@ -1612,6 +1612,10 @@
nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
esac
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
diff --git a/development/ocaml/ocaml.info b/development/ocaml/ocaml.info
index 0f70dfd8a7..6f020cdd7b 100644
--- a/development/ocaml/ocaml.info
+++ b/development/ocaml/ocaml.info
@@ -1,12 +1,12 @@
PRGNAM="ocaml"
-VERSION="3.12.1"
+VERSION="4.01.0"
HOMEPAGE="http://caml.inria.fr"
-DOWNLOAD="http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.bz2 \
- http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12-refman.html"
-MD5SUM="227a3daaedb150bf5037a3db01f5bf42 \
- dbefdc669251e67a6b6fdd28fb6c8777"
+DOWNLOAD="http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.xz \
+ http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01-refman-html.tar.gz"
+MD5SUM="32015b473de16ca19b82c728358eaa78 \
+ 73f4657680baeb200135720fbc84eb4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ferenc Deak"
-EMAIL="ferenc.deak@gmail.com"
+MAINTAINER="Markus Hutmacher"
+EMAIL="mailing@markhu.de"