aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tir/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-05-17 07:55:07 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2012-05-17 07:55:07 +0000
commitf3e595654735e812bad5327748d2f12563dbe281 (patch)
tree0c66f0da81c7ec55ed02ab6e681008d6565b65ad /testing/tir/APKBUILD
parent27acccfbf15d236d3c87500909d786ee12e87e01 (diff)
downloadaports-f3e595654735e812bad5327748d2f12563dbe281.tar.bz2
aports-f3e595654735e812bad5327748d2f12563dbe281.tar.xz
testing/tir: package added
Diffstat (limited to 'testing/tir/APKBUILD')
-rw-r--r--testing/tir/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/tir/APKBUILD b/testing/tir/APKBUILD
new file mode 100644
index 0000000000..6d7e5ce794
--- /dev/null
+++ b/testing/tir/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer:
+pkgname=tir
+pkgver=0.9.3
+_pkgsubver=3
+pkgrel=0
+pkgdesc="Tir web framework"
+url=http://tir.mongrel2.org/
+arch=noarch
+license=BSD
+depends="lua lua-json4 lua-md5 lua-posix lua-signal lua-sqlite3 lua-telescope lua-tnetstrings lua-zmq"
+source=${url}downloads/$pkgname-$pkgver-$_pkgsubver.tar.gz
+
+_builddir=$srcdir/$pkgname-$pkgver-$_pkgsubver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ :
+}
+
+package() {
+ cd "$_builddir"
+ local bindir=$pkgdir/usr/sbin
+ local luadir=$pkgdir/usr/share/lua/5.1
+ install -d "$bindir"
+ install -d "$luadir"
+ install bin/tir "$bindir"
+ cp -r tir "$luadir"
+}
+
+md5sums="cd21b247adee9a39e3081d8a974b6146 tir-0.9.3-3.tar.gz"