wok-current diff ocaml/receipt @ rev 4056

Up: linux (2.6.30.6)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 09 23:20:53 2009 +0200 (2009-09-09)
parents bfa8ab3f9688
children 6ec17b55b59a
line diff
     1.1 --- a/ocaml/receipt	Tue Apr 07 09:42:02 2009 +0000
     1.2 +++ b/ocaml/receipt	Wed Sep 09 23:20:53 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.