diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-03-26 05:19:36 +0000 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-03-26 05:19:36 +0000 |
commit | fb292d14da356c60107a0588206a3086a808cca2 (patch) | |
tree | 59cd3803650e4fa00ae44c4258b02b5a54e40b6e /testing | |
parent | c229a9419582cc379e8b7f259c9bc9f7993d82e3 (diff) | |
download | aports-fb292d14da356c60107a0588206a3086a808cca2.tar.bz2 aports-fb292d14da356c60107a0588206a3086a808cca2.tar.xz |
testing/lua-signal: package added
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-signal/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/lua-signal/APKBUILD b/testing/lua-signal/APKBUILD new file mode 100644 index 000000000..37de2ccc2 --- /dev/null +++ b/testing/lua-signal/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=lua-signal +pkgver=1.200 +pkgrel=0 +pkgdesc="Signal library for Lua" +url=http://www.batbytes.com/files/ +arch=all +license=MIT +depends=lua +makedepends=lua-dev +install="" +source=${url}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" |