summaryrefslogtreecommitdiff
path: root/development/ocaml/ocaml.SlackBuild
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/ocaml.SlackBuild
parentd918e219424ea71650acb3db2ff56be8fc4e97a4 (diff)
downloadslackbuilds-be9339b0be5b2c0dd08939b5b0bc537dba854637.tar.gz
development/ocaml: Updated for version 4.03.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/ocaml/ocaml.SlackBuild')
-rw-r--r--development/ocaml/ocaml.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/ocaml/ocaml.SlackBuild b/development/ocaml/ocaml.SlackBuild
index f30db63bd3..1f0ea4e709 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