wok-6.x rev 3997
ocaml: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 30 23:47:30 2009 +0200 (2009-08-30) |
parents | 975439362c74 |
children | dbdd0768c3ab |
files | ocaml/receipt |
line diff
1.1 --- a/ocaml/receipt Sun Aug 30 16:04:45 2009 +0200 1.2 +++ b/ocaml/receipt Sun Aug 30 23:47:30 2009 +0200 1.3 @@ -16,9 +16,11 @@ 1.4 cd $src 1.5 grep -q true build/camlp4-targets.sh || 1.6 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh 1.7 - ./configure --prefix $PWD/_pkg/usr \ 1.8 + ./configure --prefix /usr \ 1.9 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && 1.10 - make world && make install 1.11 + make world opt && 1.12 + sed -i "s|^PREFIX=.*|PREFIX=$PWD/_pkg/usr|" config/Makefile && 1.13 + make install 1.14 } 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg.