diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-10-03 05:20:51 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-10-03 05:20:51 +0600 |
commit | ecc5995097fcecc06aa4794013659dd5cd48415d (patch) | |
tree | b5b942779cf18694de0de7556539e5002cb9127d /dev-lua/resty-memcached | |
parent | some more porting (diff) | |
download | lua-ecc5995097fcecc06aa4794013659dd5cd48415d.tar.gz lua-ecc5995097fcecc06aa4794013659dd5cd48415d.tar.bz2 lua-ecc5995097fcecc06aa4794013659dd5cd48415d.zip |
Finished porting to lua.eclass
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-lua/resty-memcached')
-rw-r--r-- | dev-lua/resty-memcached/resty-memcached-9999.ebuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-lua/resty-memcached/resty-memcached-9999.ebuild b/dev-lua/resty-memcached/resty-memcached-9999.ebuild index ae0bc8e..5295af6 100644 --- a/dev-lua/resty-memcached/resty-memcached-9999.ebuild +++ b/dev-lua/resty-memcached/resty-memcached-9999.ebuild @@ -4,10 +4,11 @@ EAPI="5" -inherit eutils toolchain-funcs git-r3 +VCS="git-r3" +inherit lua DESCRIPTION="Lua memcached client driver for the ngx_lua based on the cosocket API" -HOMEPAGE="https://github.com/openresty/lua-${PN}" +HOMEPAGE="https://github.com/openresty/lua-resty-memcached" SRC_URI="" EGIT_REPO_URI="https://github.com/openresty/lua-${PN}" @@ -15,24 +16,17 @@ EGIT_REPO_URI="https://github.com/openresty/lua-${PN}" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="luajit" +IUSE="" RDEPEND=" - virtual/lua[luajit=] www-servers/nginx[nginx_modules_http_lua] " DEPEND=" ${RDEPEND} - virtual/pkgconfig " -src_prepare() { - local lua=lua; - use luajit && lua=luajit; +READMES=( README.markdown ) - sed -r \ - -e "s#^(PREFIX).*#\1=/usr#" \ - -e "s#^(LUA_LIB_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})#" \ - -e "s#^(LUA_INCLUDE_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable includedir ${lua})#" \ - -i Makefile +each_lua_install() { + dolua lib/resty } |