diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-10 12:25:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-10 12:26:54 +0000 |
commit | 3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb (patch) | |
tree | 3781e73ce0fb09dd0febeb01d72b536f774f679f /main/lua-posix/APKBUILD | |
parent | 5cdc100dbb4bc5358ccc706744c5710e0b81877e (diff) | |
download | aports-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/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD index 8cc466867..358924726 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 |