wok diff lua/receipt @ rev 11062
Up: optipng to 0.6.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:32:23 2011 +0000 (2011-10-17) |
parents | d04823a784db |
children | 0769826c3fc4 |
line diff
1.1 --- a/lua/receipt Sun Mar 15 20:05:38 2009 +0000 1.2 +++ b/lua/receipt Mon Oct 17 00:32:23 2011 +0000 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 -