wok rev 634
Add: lua (light programming language)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 16:11:05 2008 +0200 (2008-04-21) |
parents | 93ddc3aa7689 |
children | 3abd6f2e8a08 |
files | lua-dev/receipt lua/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lua-dev/receipt Mon Apr 21 16:11:05 2008 +0200 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lua-dev" 1.7 +VERSION="5.1.3" 1.8 +CATEGORY="developement" 1.9 +SHORT_DESC="Lua devel files." 1.10 +WANTED="lua" 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +WEB_SITE="http://www.lua.org/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib $fs/usr/include 1.18 + # include 1.19 + for i in lua.h luaconf.h lualib.h lauxlib.h 1.20 + do 1.21 + cp -a $src/src/$i $fs/usr/include 1.22 + done 1.23 + # liblua.a 1.24 + cp -a $src/src/liblua.a $fs/usr/lib 1.25 +} 1.26 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lua/receipt Mon Apr 21 16:11:05 2008 +0200 2.3 @@ -0,0 +1,28 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="lua" 2.7 +VERSION="5.1.3" 2.8 +CATEGORY="developement" 2.9 +SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." 2.10 +BUILD_DEPENDS="readline" 2.11 +BUILD_DEPENDS="readline-dev" 2.12 +MAINTAINER="pankso@slitaz.org" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.lua.org/" 2.15 +WGET_URL="http://www.lua.org/ftp/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + make linux 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr/bin 2.28 + cp -a $src/src/lua $fs/usr/bin 2.29 + cp -a $src/src/luac $fs/usr/bin 2.30 +} 2.31 +