aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-xmlrpc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-07 12:49:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-07 12:50:04 +0000
commit26a7a165a792aa8548039d19339dd4a1b639f175 (patch)
tree6186781e14aa175a306676a5f098e620ac07fc90 /testing/lua-xmlrpc/APKBUILD
parentcd06aa53c9df9668a670aae6fba80d4b1cd7f616 (diff)
downloadaports-26a7a165a792aa8548039d19339dd4a1b639f175.tar.bz2
aports-26a7a165a792aa8548039d19339dd4a1b639f175.tar.xz
testing/lua-xmlrpc: new aport
Lua package to access and provide XML-RPC services https://github.com/timn/lua-xmlrpc ref #2267
Diffstat (limited to 'testing/lua-xmlrpc/APKBUILD')
-rw-r--r--testing/lua-xmlrpc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/lua-xmlrpc/APKBUILD b/testing/lua-xmlrpc/APKBUILD
new file mode 100644
index 0000000000..e7e981e86c
--- /dev/null
+++ b/testing/lua-xmlrpc/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_luaver=5.1
+pkgname=lua-xmlrpc
+_name=$pkgname
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="Lua package to access and provide XML-RPC services"
+url="https://github.com/timn/lua-xmlrpc"
+arch="noarch"
+license="MIT"
+depends="lua-expat lua-socket"
+makedepends="lua-dev"
+install=
+source="lua-xmlrcp-$pkgver.tar.gz::https://github.com/timn/lua-xmlrpc/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir/$_name-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ make install LUA_DIR="$pkgdir"/usr/share/lua/$_luaver
+}
+
+md5sums="422b830ca5706bb109ed8a28b8e82a32 lua-xmlrcp-1.2.1.tar.gz"
+sha256sums="0047e353ed4357d33479e923ddd8be3ec29edb9264f79dd2fd1993557ae4ad71 lua-xmlrcp-1.2.1.tar.gz"
+sha512sums="27123ec0fe006ebe7dbb88ccdb2b2a028d592fcb97138ee2891e89e89c48563a06ec05ea543a6068eda1e71bbe7d82a1791fdf734ed08f3613d5d252fbb7d77f lua-xmlrcp-1.2.1.tar.gz"