wok-stable diff lua/receipt @ rev 12447
glibc: CVE-2015-0235 fix (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 29 13:01:13 2015 +0100 (2015-01-29) |
parents | d04823a784db |
children |
line diff
1.1 --- a/lua/receipt Sun Mar 15 20:05:38 2009 +0000 1.2 +++ b/lua/receipt Thu Jan 29 13:01:13 2015 +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 -