summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-18 00:54:26 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 18:50:26 +0700
commite3c300111308b4930906fcf7c444c69b7b9acdda (patch)
tree015d6d0ee52acc7e0e0288cd31173597533882b2
parent2ccb7ba626a496fe1c3b67979827a59c22256033 (diff)
downloadslackbuilds-e3c300111308b4930906fcf7c444c69b7b9acdda.tar.gz
libraries/ocaml-bisect: Install binaries to $PKG.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/ocaml-bisect/ocaml-bisect.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild b/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
index 297f813bfc..48feb44bca 100644
--- a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
+++ b/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
@@ -79,7 +79,9 @@ make doc
OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)"
sed "s|PATH_INSTALL=|PATH_INSTALL=$PKG/|" -i Makefile
+sed "s|\\\$(PATH_OCAML_PREFIX)/bin/bisect|${PKG}/&|" -i Makefile
mkdir -p "${OCAMLFIND_DESTDIR}"
+mkdir -p $PKG/usr/bin
OCAMLFIND_DESTDIR="${OCAMLFIND_DESTDIR}" DESTDIR="$PKG" PREFIX="/usr" make install || return 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION