diff options
author | Matteo Bernardini | 2021-11-21 10:22:33 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2021-11-22 03:10:21 +0100 |
commit | 8fb7497f26e2bfcaf84fbc37a2f4590237b0f1d3 (patch) | |
tree | 3410a08f1dd653d4579004210ae2b869f3247d79 /development/ocaml/ocaml.SlackBuild | |
parent | 79b75a01a456b7a9e6ba1b87860316e8df7aae87 (diff) | |
download | slackbuilds-8fb7497f26e2bfcaf84fbc37a2f4590237b0f1d3.tar.gz |
development/ocaml: Updated for version 4.08.1.
This reverts f76b602
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ocaml/ocaml.SlackBuild')
-rw-r--r-- | development/ocaml/ocaml.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/development/ocaml/ocaml.SlackBuild b/development/ocaml/ocaml.SlackBuild index f42ff20786..9134b591c3 100644 --- a/development/ocaml/ocaml.SlackBuild +++ b/development/ocaml/ocaml.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ocaml -VERSION=${VERSION:-4.13.1} -MANVER=${MANVER:-4.13} +VERSION=${VERSION:-4.08.1} +MANVER=${MANVER:-4.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,17 +84,12 @@ find -L . \ sed "s|@CFLAGS@|$SLKCFLAGS -fcommon|" $CWD/configure.patch | patch -p1 ./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX}/ocaml \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux - -make world.opt || make -j1 world.opt -make DESTDIR=$PKG install + --prefix /usr \ + --libdir /usr/lib${LIBDIRSUFFIX}/ocaml \ + --mandir /usr/man + +make -j1 world.opt +make -j1 DESTDIR=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |