diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-24 20:57:39 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-25 22:58:08 +0700 |
commit | 70838d5b28c07d6e051b21ee7b800582cf97039d (patch) | |
tree | e380850a782dd565a85cce4de8505e350db19fe8 /development/camlp4/camlp4.SlackBuild | |
parent | ae4207b5c1324e721d1f384c5f7ee3e9e1a76583 (diff) |
development/camlp4: Updated for version 4.13.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 31f84c26523d7..73fa7d4fddd3f 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 |