summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-08-15 14:25:19 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-08-15 14:25:19 +0200
commitccae6524ecb7dc2d3a880bb218eeae608a7073e9 (patch)
tree66fa0e6dd3de587711150d7a2856d259b68ea067
parent65a23ba05533d69b5ed2831b02c823b3c3ff06af (diff)
downloadminilinux-ccae6524ecb7dc2d3a880bb218eeae608a7073e9.tar.gz
minilinux-ccae6524ecb7dc2d3a880bb218eeae608a7073e9.tar.bz2
added lua
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
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