summaryrefslogtreecommitdiffstats
path: root/extra/lua
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:55 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:55 +0200
commitff1a9e56c62bc788d9f02c147bd5b339a846237c (patch)
treec3727e800c5ac10385f7b19fdac99ea880b110f3 /extra/lua
parentd46bc527368f101271862479c0069e9dc8bf599c (diff)
downloadnutyx-pakxe-ff1a9e56c62bc788d9f02c147bd5b339a846237c.tar.gz
nutyx-pakxe-ff1a9e56c62bc788d9f02c147bd5b339a846237c.tar.bz2
nutyx-pakxe-ff1a9e56c62bc788d9f02c147bd5b339a846237c.tar.xz
nutyx-pakxe-ff1a9e56c62bc788d9f02c147bd5b339a846237c.zip
Ajout de lua#5.1.4-1
Diffstat (limited to 'extra/lua')
-rw-r--r--extra/lua/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/lua/Pkgfile b/extra/lua/Pkgfile
new file mode 100644
index 000000000..223f1b957
--- /dev/null
+++ b/extra/lua/Pkgfile
@@ -0,0 +1,20 @@
+# $Id: build,v 1.9 2008/08/30 20:36:55 linda Exp root $
+# Description: A programming language designed for extending applications
+# URL: http://www.lua.org
+# Packager: Floreal Cabares, cabaflo at wanadoo dot fr
+# Depends on:
+
+name=lua
+version=5.1.4
+release=1
+source=(http://www.lua.org/ftp/$name-$version.tar.gz)
+
+build() {
+cd $name-$version
+# sed -i "s|-O2|-O2 -march=i486 -mtune=i686|g" src/Makefile
+# sed -i "s|/usr/local|$PKG/usr|g" config
+make linux
+make INSTALL_TOP=$PKG/usr install
+rm -rf $PKG/usr/share
+install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc
+}