wok rev 12317

Up: ocaml to 3.12.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 07:18:38 2012 +0000 (2012-04-19)
parents df36976870fe
children f7b559e8d31d
files ocaml/receipt
line diff
     1.1 --- a/ocaml/receipt	Thu Apr 19 07:17:34 2012 +0000
     1.2 +++ b/ocaml/receipt	Thu Apr 19 07:18:38 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ocaml"
     1.7 -VERSION="3.10.2"
     1.8 +VERSION="3.12.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="General-purpose programming language designed for safety and reliability."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -20,7 +20,7 @@
    1.13  	./configure --prefix /usr \
    1.14  	$(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    1.15  	make -j1 world opt &&
    1.16 -	sed -i "s|^PREFIX=.*|PREFIX=$PWD/_pkg/usr|" config/Makefile &&
    1.17 +	sed -i "s|^PREFIX=.*|PREFIX=$DESTDIR/usr|" config/Makefile &&
    1.18  	make install
    1.19  }
    1.20  
    1.21 @@ -28,7 +28,7 @@
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr
    1.25 -	cp -a $_pkg/usr/bin $fs/usr
    1.26 -	cp -a $_pkg/usr/lib $fs/usr
    1.27 +	cp -a $install/usr/bin $fs/usr
    1.28 +	cp -a $install/usr/lib $fs/usr
    1.29  }
    1.30