wok-4.x diff lua/receipt @ rev 12070

transmission: fix bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 03:35:40 2012 +0100 (2012-03-09)
parents d04823a784db
children
line diff
     1.1 --- a/lua/receipt	Sun Mar 15 20:05:38 2009 +0000
     1.2 +++ b/lua/receipt	Fri Mar 09 03:35:40 2012 +0100
     1.3 @@ -16,16 +16,17 @@
     1.4  {
     1.5  	cd $src
     1.6  	sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
     1.7 -	sed -i "s#INSTALL_TOP= /usr/local#INSTALL_TOP=$pkg/usr#" Makefile 
     1.8  	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
     1.9 -	make linux
    1.10 +	sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
    1.11 +	make linux &&
    1.12 +	make install \
    1.13 +		INSTALL_TOP=$DESTDIR/usr \
    1.14 +		INSTALL_MAN=$DESTDIR/usr/share/man/man1
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/bin
    1.21 -	cp -a $src/src/lua $fs/usr/bin
    1.22 -	cp -a $src/src/luac $fs/usr/bin
    1.23 +	cp -a $install/usr/bin $fs/usr
    1.24  }
    1.25 -