From ccae6524ecb7dc2d3a880bb218eeae608a7073e9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 15 Aug 2010 14:25:19 +0200 Subject: added lua --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 799c268..b26cf6b 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ BUSYBOX_VERSION=1.17.1 ACPID_VERSION=1.0.10 GPM_VERSION=1.20.6 PERL_VERSION=5.12.1 +LUA_VERSION=5.1.4 PARALLEL=-j12 @@ -60,7 +61,7 @@ step4: kernel busybox acpid # step5: additional user space tools: # - GPM for mouse copy-pate # - Miniperl -step5: gpm perl +step5: gpm perl lua # disk image and directories @@ -205,6 +206,15 @@ perl: perl-clean: -rm -rf perl-$(PERL_VERSION) +lua: + -rm -rf lua-$(LUA_VERSION) + tar zxf tarballs/lua-$(LUA_VERSION).tar.gz + cd lua-$(LUA_VERSION) && make posix $(PARALLEL) + cd lua-$(LUA_VERSION) && cp src/lua ../target/usr/bin/lua + +lua-clean: + -rm -rf lua-$(LUA_VERSION) + # helpers mount-disk: @@ -256,3 +266,6 @@ source: -test -r tarballs/perl-$(PERL_VERSION).tar.gz || \ wget -O tarballs/perl-$(PERL_VERSION).tar.gz \ http://www.cpan.org/src/perl-$(PERL_VERSION).tar.gz + -test -r tarballs/lua-$(LUA_VERSION).tar.gz || \ + wget -O tarballs/lua-$(LUA_VERSION).tar.gz \ + http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz -- cgit v1.2.3-54-g00ecf