wok diff ocaml/receipt @ rev 4937

add/improve TAGS h* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 14:01:36 2010 +0000 (2010-02-16)
parents bfa8ab3f9688
children 6ec17b55b59a
line diff
     1.1 --- a/ocaml/receipt	Tue Apr 07 09:42:02 2009 +0000
     1.2 +++ b/ocaml/receipt	Tue Feb 16 14:01:36 2010 +0000
     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.