diff options
| author | Zurab Kvachadze <zurabid2016@gmail.com> | 2025-02-18 16:18:09 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-07-05 08:27:03 +0100 |
| commit | 68bfddbe302b23ea597a3fc8265cbdd74bbba9c1 (patch) | |
| tree | 13688a3ec7c6ab7fc89492e78e97cf91fa623498 /dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild | |
| parent | e968890b2ae1ee9d88640cba752a34955ce063e7 (diff) | |
| download | gentoo-68bfddbe302b23ea597a3fc8265cbdd74bbba9c1.tar.gz gentoo-68bfddbe302b23ea597a3fc8265cbdd74bbba9c1.tar.bz2 gentoo-68bfddbe302b23ea597a3fc8265cbdd74bbba9c1.zip | |
dev-lua/lua-resty-memcached: new package, add 0.17
lua-resty-memcached[1] is "Lua memcached client driver for the ngx_lua
based on the cosocket API".
[1]: https://github.com/openresty/lua-resty-memcached
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild')
| -rw-r--r-- | dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild new file mode 100644 index 000000000000..e04b3fd3ce0a --- /dev/null +++ b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Openresty only ever supports luajit. +LUA_COMPAT=( luajit ) +inherit lua-single + +DESCRIPTION="Lua memcached client driver based on cosocket API for ngx-lua-module" +HOMEPAGE="https://github.com/openresty/lua-resty-memcached" +SRC_URI=" + https://github.com/openresty/lua-resty-memcached/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +# Tests require replicating much of nginx-module_src_test() in each +# dev-lua/lua-resty-* ebuild. +RESTRICT="test" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +BDEPEND="virtual/pkgconfig" +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" + +src_configure() { + # The directory where to Lua files are to be installed, used by the build + # system. + export LUA_LIB_DIR="$(lua_get_lmod_dir)" + default +} |
