aboutsummaryrefslogtreecommitdiff
path: root/development/ocaml
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-07-07 16:40:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2016-07-20 14:20:08 -0500
commitbe9339b0be5b2c0dd08939b5b0bc537dba854637 (patch)
tree4612d6dba5fb165ec75cc32ba017d067c8da1838 /development/ocaml
parentd918e219424ea71650acb3db2ff56be8fc4e97a4 (diff)
development/ocaml: Updated for version 4.03.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/ocaml')
-rw-r--r--development/ocaml/ocaml.SlackBuild10
-rw-r--r--development/ocaml/ocaml.info10
2 files changed, 10 insertions, 10 deletions
diff --git a/development/ocaml/ocaml.SlackBuild b/development/ocaml/ocaml.SlackBuild
index f30db63bd34c..1f0ea4e70936 100644
--- a/development/ocaml/ocaml.SlackBuild
+++ b/development/ocaml/ocaml.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ocaml
-VERSION=${VERSION:-4.01.0}
+VERSION=${VERSION:-4.03.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -78,7 +78,7 @@ CFLAGS="$SLKCFLAGS" ./configure \
--host $ARCH-slackware-linux
make -j1 world.opt
-make install \
+make -j1 install \
PREFIX=$PKG/usr \
LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX}/ocaml
@@ -88,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 VERSION \
+cp -a Changes INSTALL* LICENSE README* VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
-tar -xvf $CWD/ocaml-4.01-refman-html.tar.gz --no-same-owner -C $PKG/usr/doc/$PRGNAM-$VERSION/
+tar -xvf $CWD/ocaml-4.03-refman-html.tar.gz --no-same-owner -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 6f020cdd7b16..620db74149ec 100644
--- a/development/ocaml/ocaml.info
+++ b/development/ocaml/ocaml.info
@@ -1,10 +1,10 @@
PRGNAM="ocaml"
-VERSION="4.01.0"
+VERSION="4.03.0"
HOMEPAGE="http://caml.inria.fr"
-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="http://caml.inria.fr/pub/distrib/ocaml-4.03/ocaml-4.03.0.tar.xz \
+ http://caml.inria.fr/pub/distrib/ocaml-4.03/ocaml-4.03-refman-html.tar.gz"
+MD5SUM="89f62881e03dfad0cf04991fbc03f955 \
+ d3e44d3984d029d2e88ba219ad8e24c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""