diff options
Diffstat (limited to 'development/dune/dune.SlackBuild')
-rw-r--r-- | development/dune/dune.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/dune/dune.SlackBuild b/development/dune/dune.SlackBuild index aad1905de5645..082b1e9ecafc0 100644 --- a/development/dune/dune.SlackBuild +++ b/development/dune/dune.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dune -# Copyright 2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2019-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dune -VERSION=${VERSION:-1.11.3} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make release -make DESTDIR=$PKG INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install +make DESTDIR=$PKG INSTALL_ARGS="--prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX/ocaml" install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |