aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-10 12:25:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-10 12:26:54 +0000
commit3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb (patch)
tree3781e73ce0fb09dd0febeb01d72b536f774f679f /main/lua-posix/APKBUILD
parent5cdc100dbb4bc5358ccc706744c5710e0b81877e (diff)
downloadaports-3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb.tar.bz2
aports-3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb.tar.xz
main/lua-posix: the 5.1 version needs lua-bitlib
fixes #2278
Diffstat (limited to 'main/lua-posix/APKBUILD')
-rw-r--r--main/lua-posix/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 8cc4668678..3589247265 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -5,7 +5,7 @@ _luaversions="5.1 5.2"
pkgname=lua-posix
_name=luaposix
pkgver=31
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX library for Lua $_luaver"
url="https://github.com/luaposix/luaposix"
arch="all"
@@ -64,6 +64,9 @@ package() {
_split() {
depends=
local d= _ver=$1 _f=$2
+ if [ "$_ver" = "5.1" ]; then
+ depends="lua-bitlib"
+ fi
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then
mkdir -p "$subpkgdir"/$d/$_ver