aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-xml
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-30 15:12:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-30 15:12:35 +0000
commite648609fba5e171ac66a1cbdc0f9d269c0f8fcc5 (patch)
tree7e83f4f93224a4dfe45d8ecb53bf3afc35104cab /main/lua-xml
parent22a4623a1654ca9805402645783291f75661a696 (diff)
downloadaports-e648609fba5e171ac66a1cbdc0f9d269c0f8fcc5.tar.bz2
aports-e648609fba5e171ac66a1cbdc0f9d269c0f8fcc5.tar.xz
main/lua-xml: moved from testing
Diffstat (limited to 'main/lua-xml')
-rw-r--r--main/lua-xml/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/lua-xml/APKBUILD b/main/lua-xml/APKBUILD
new file mode 100644
index 0000000000..619a4d2565
--- /dev/null
+++ b/main/lua-xml/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-xml
+_name=LuaXML
+pkgver=090910
+pkgrel=0
+pkgdesc="a minimal set of functions for the processing of XML data in Lua"
+url="http://www.viremo.de/LuaXML"
+license="MIT"
+depends=
+makedepends="lua-dev"
+install=
+subpackages=
+source="http://www.viremo.de/LuaXML/LuaXML_$pkgver.zip"
+
+_builddir="$srcdir"
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m755 -D LuaXML_lib.so "$pkgdir"/usr/lib/lua/5.1/LuaXML_lib.so\
+ || return 1
+ install -m755 -D LuaXml.lua "$pkgdir"/usr/share/lua/5.1/LuaXml.lua \
+ || return 1
+}
+
+md5sums="de690d73a34bdc7d3b4f0307a40afd87 LuaXML_090910.zip"