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-cookie | |
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-cookie')
-rw-r--r-- | dev-lua/resty-cookie/resty-cookie-9999.ebuild | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/dev-lua/resty-cookie/resty-cookie-9999.ebuild b/dev-lua/resty-cookie/resty-cookie-9999.ebuild index 13ee2dc..418d01d 100644 --- a/dev-lua/resty-cookie/resty-cookie-9999.ebuild +++ b/dev-lua/resty-cookie/resty-cookie-9999.ebuild @@ -4,10 +4,11 @@ EAPI="5" -inherit base eutils toolchain-funcs git-r3 +VCS="git-r3" +inherit lua DESCRIPTION="Library for parsing HTTP Cookie header for Nginx" -HOMEPAGE="https://github.com/cloudflare/lua-${PN}" +HOMEPAGE="https://github.com/cloudflare/lua-resty-cookie" SRC_URI="" EGIT_REPO_URI="https://github.com/cloudflare/lua-${PN}" @@ -15,27 +16,18 @@ EGIT_REPO_URI="https://github.com/cloudflare/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 " +READMES=( README.md ) -DOCS=( "README.md" ) - -src_install() { - local lua=lua; - use luajit && lua=luajit; - - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})" - doins -r lib/resty - - base_src_install_docs +each_lua_install() { + dolua lib/resty } |