aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-event/APKBUILD
diff options
context:
space:
mode:
authorJohannes Matheis <jomat+alpinebuild@jmt.gr>2014-11-15 18:30:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-17 07:41:09 +0000
commitbf8de125bf891a5955907eaa94dcee42192302e1 (patch)
treefbb3e30414744be5c22166be0033a3e8fe2333ca /testing/lua-event/APKBUILD
parent8b33f2511bb3bc5cc4d51e5182180ef58600dad2 (diff)
downloadaports-bf8de125bf891a5955907eaa94dcee42192302e1.tar.bz2
aports-bf8de125bf891a5955907eaa94dcee42192302e1.tar.xz
testing/lua-event: new aport
https://github.com/harningt/luaevent Lua binding for libevent
Diffstat (limited to 'testing/lua-event/APKBUILD')
-rw-r--r--testing/lua-event/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/lua-event/APKBUILD b/testing/lua-event/APKBUILD
new file mode 100644
index 0000000000..f29a5852d9
--- /dev/null
+++ b/testing/lua-event/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=lua-event
+pkgver=0.4.3
+pkgrel=0
+pkgdesc="Lua binding for libevent"
+url="https://github.com/harningt/luaevent"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="lua-dev libevent-dev"
+makedepends="$depends_dev"
+install=""
+source="${url}/archive/v${pkgver}.tar.gz"
+
+_builddir="${srcdir}/luaevent-${pkgver}"
+
+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() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install
+}
+
+md5sums="3d0efc3d3751fddecedba0c25e0652df v0.4.3.tar.gz"
+sha256sums="9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5 v0.4.3.tar.gz"
+sha512sums="5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 v0.4.3.tar.gz"