summaryrefslogtreecommitdiff
path: root/lua/Pkgfile
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@crux.nu>2007-04-09 21:32:46 +0200
committerTilman Sauerbeck <tilman@crux.nu>2007-04-09 21:32:46 +0200
commit60270d41795d5fcf0656232505883dfb14f2ec66 (patch)
tree7a23b443e568412b3b5021020be4c1e997cc6452 /lua/Pkgfile
parent16bab0c17a845bebbde3c4d78e3abe695b4c1d8c (diff)
downloadopt-60270d41795d5fcf0656232505883dfb14f2ec66.tar.gz
opt-60270d41795d5fcf0656232505883dfb14f2ec66.tar.xz
lua: initial release
Diffstat (limited to 'lua/Pkgfile')
-rw-r--r--lua/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/Pkgfile b/lua/Pkgfile
new file mode 100644
index 000000000..f8e4bdbe8
--- /dev/null
+++ b/lua/Pkgfile
@@ -0,0 +1,21 @@
+# Description: A programming language designed for extending applications
+# URL: http://www.lua.org
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Depends on:
+
+name=lua
+version=5.1.2
+release=1
+source=(http://www.lua.org/ftp/$name-$version.tar.gz \
+ $name.diff)
+
+build() {
+ cd $name-$version
+
+ patch -Np1 -i $SRC/$name.diff
+
+ make linux
+ make INSTALL_TOP=$PKG/usr install
+
+ install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc
+}

Generated by cgit