aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-signal/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-08-14 23:09:14 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-08-14 23:24:50 +0300
commit4e4debee8f4c27add021af7c4488791edc9e3eaf (patch)
tree4bebd42baf81564fab8a81902bc57b95a74575bb /community/lua-signal/APKBUILD
parentb3678f9a386726fb87ec8c1476e8a32db9e0d0cf (diff)
downloadaports-4e4debee8f4c27add021af7c4488791edc9e3eaf.tar.bz2
aports-4e4debee8f4c27add021af7c4488791edc9e3eaf.tar.xz
community/lua-signal: moved from main
Diffstat (limited to 'community/lua-signal/APKBUILD')
-rw-r--r--community/lua-signal/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/lua-signal/APKBUILD b/community/lua-signal/APKBUILD
new file mode 100644
index 0000000000..31fe5768f9
--- /dev/null
+++ b/community/lua-signal/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=lua-signal
+pkgver=1.200
+pkgrel=1
+pkgdesc="Signal library for Lua"
+url=http://www.batbytes.com/files/
+arch=all
+license=MIT
+depends=
+makedepends=lua-dev
+install=""
+source="http://dev.alpinelinux.org/archive/lua-signal/lua-signal-${pkgver}.tar.gz"
+
+_builddir=$srcdir/lua-signal
+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() {
+ make -C "$_builddir"
+}
+
+package() {
+ local moddir="$pkgdir/usr/lib/lua/5.1"
+ mkdir -p "$moddir"
+ make -C "$_builddir" install SIGNAL_DESTINATION="$moddir"
+}
+
+md5sums="9bfcaa5f9c13488da5087a277b4eaa25 lua-signal-1.200.tar.gz"