diff options
Diffstat (limited to 'development/camlp4/camlp4.SlackBuild')
-rw-r--r-- | development/camlp4/camlp4.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/development/camlp4/camlp4.SlackBuild b/development/camlp4/camlp4.SlackBuild index 31f84c2652..73fa7d4fdd 100644 --- a/development/camlp4/camlp4.SlackBuild +++ b/development/camlp4/camlp4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for camlp4 -# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-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=camlp4 -VERSION=${VERSION:-4.08_1} +VERSION=${VERSION:-4.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,10 +86,11 @@ find -L . \ --libdir=/usr/lib$LIBDIRSUFFIX/ocaml \ --pkgdir=$PKG -make -j1 all -make -j1 install DESTDIR=$PKG -make -j1 camlp4/META -make -j1 install-META PKGDIR=$PKG/usr/lib$LIBDIRSUFFIX/ocaml/site-lib +make -j1 all camlp4/META +make BINDIR="$PKG/usr/bin" \ + LIBDIR="$PKG/usr/lib$LIBDIRSUFFIX/ocaml" \ + PKGDIR="$PKG/usr/lib$LIBDIRSUFFIX/ocaml" \ + install install-META 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 |