wok-next diff ocaml/receipt @ rev 14874

Up: python-docutils (0.11)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Jul 23 19:27:11 2013 -0300 (2013-07-23)
parents 6c5cc6382d3d
children 23c3aed67cd9
line diff
     1.1 --- a/ocaml/receipt	Mon Feb 21 04:34:17 2011 +0100
     1.2 +++ b/ocaml/receipt	Tue Jul 23 19:27:11 2013 -0300
     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