wok-6.x rev 15347
luasocket: use lua5.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 08:49:08 2013 +0000 (2013-09-30) |
parents | 49dd2dff0330 |
children | cb1f4002a9f7 |
files | luasocket/receipt |
line diff
1.1 --- a/luasocket/receipt Sun Sep 29 21:44:00 2013 +0000 1.2 +++ b/luasocket/receipt Mon Sep 30 08:49:08 2013 +0000 1.3 @@ -10,8 +10,8 @@ 1.4 WEB_SITE="http://w3.impa.br/~diego/software/luasocket/home.html" 1.5 WGET_URL="http://luaforge.net/frs/download.php/2664/$TARBALL" 1.6 1.7 -DEPENDS="lua" 1.8 -BUILD_DEPENDS="lua-dev" 1.9 +DEPENDS="lua5.1" 1.10 +BUILD_DEPENDS="lua5.1-dev" 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 @@ -26,7 +26,7 @@ 1.15 done <<EOT 1.16 patch.diff 1.17 EOT 1.18 - make && make DESTDIR=$DESTDIR install 1.19 + make CFLAGS="$CFLAGS -I/usr/include/lua/5.1" && make DESTDIR=$DESTDIR install 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg.