# HG changeset patch # User Christophe Lincoln # Date 1208787065 -7200 # Node ID df38165facf84bb95eb4dc2760dc318501b218d1 # Parent 93ddc3aa76891f876c554730d2b7bb888855d979 Add: lua (light programming language) diff -r 93ddc3aa7689 -r df38165facf8 lua-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua-dev/receipt Mon Apr 21 16:11:05 2008 +0200 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="lua-dev" +VERSION="5.1.3" +CATEGORY="developement" +SHORT_DESC="Lua devel files." +WANTED="lua" +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.lua.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + # include + for i in lua.h luaconf.h lualib.h lauxlib.h + do + cp -a $src/src/$i $fs/usr/include + done + # liblua.a + cp -a $src/src/liblua.a $fs/usr/lib +} + diff -r 93ddc3aa7689 -r df38165facf8 lua/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua/receipt Mon Apr 21 16:11:05 2008 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="lua" +VERSION="5.1.3" +CATEGORY="developement" +SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." +BUILD_DEPENDS="readline" +BUILD_DEPENDS="readline-dev" +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.lua.org/" +WGET_URL="http://www.lua.org/ftp/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make linux +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/src/lua $fs/usr/bin + cp -a $src/src/luac $fs/usr/bin +} +