aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-03-18 21:19:49 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-03-18 23:09:21 +0100
commit4ece84983d6a8ce899ddb1fa92d5ea7c6d9ce048 (patch)
tree415d0e207db90ae39a529aab2547ce2e054d1fa9
parentf6b84a4444c7f03b7974385a694dfe309853b245 (diff)
downloadaports-4ece84983d6a8ce899ddb1fa92d5ea7c6d9ce048.tar.bz2
aports-4ece84983d6a8ce899ddb1fa92d5ea7c6d9ce048.tar.xz
testing/lua-resty-lrucache: fix dependencies and remove $provides
This module requires LuaJIT FFI, it doesn't work with PUC Lua.
-rw-r--r--testing/lua-resty-lrucache/APKBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/testing/lua-resty-lrucache/APKBUILD b/testing/lua-resty-lrucache/APKBUILD
index aa1c1ab82b..01e349ab4e 100644
--- a/testing/lua-resty-lrucache/APKBUILD
+++ b/testing/lua-resty-lrucache/APKBUILD
@@ -2,19 +2,15 @@
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=lua-resty-lrucache
pkgver=0.09
-pkgrel=0
+pkgrel=1
pkgdesc="Lua-land LRU Cache based on LuaJIT FFI"
url="https://github.com/openresty/lua-resty-lrucache"
arch="noarch"
license="BSD-2-Clause"
-depends="lua"
+depends="luajit"
source="https://github.com/openresty/lua-resty-lrucache/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check" # FIXME: tests require OpenResty and additional dependencies
-for _v in 5.1 5.2 5.3; do
- provides="$provides lua$_v-${pkgname#lua-}=$pkgver-r$pkgrel" # for backward compatibility
-done
-
package() {
make install DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common"