mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/menhir: Install menhirLib to $PKG.
Also use -j1 in SlackBuild. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
e10a9ed72f
commit
cd5ad874c9
1 changed files with 5 additions and 1 deletions
|
@ -79,9 +79,13 @@ sed -i -e 's/share\/doc/doc\//' -e 's/share\/man/man\//' Makefile
|
|||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
make PREFIX=$PKG/usr all
|
||||
make -j1 PREFIX=$PKG/usr all
|
||||
make install PREFIX=$PKG/usr
|
||||
|
||||
# "Installing MenhirLib via ocamlfind" ignores PREFIX= :-(
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/ocaml/site-lib
|
||||
mv /usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/menhirLib $PKG/usr/lib${LIBDIRSUFFIX}/ocaml/site-lib/
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue