diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-09-12 19:17:11 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-09-12 19:17:11 +0600 |
commit | e81d4e9013537aaadc792c1265f94931c8c5bc0a (patch) | |
tree | 5e0d3240e01055a8675192312c3548c917f0919c /dev-lua/squish | |
parent | lua-htmlparser: remove lua-set dep (diff) | |
download | lua-e81d4e9013537aaadc792c1265f94931c8c5bc0a.tar.gz lua-e81d4e9013537aaadc792c1265f94931c8c5bc0a.tar.bz2 lua-e81d4e9013537aaadc792c1265f94931c8c5bc0a.zip |
eclass/lua: added; dev-lua/*: moving to lua eclass
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-lua/squish')
-rw-r--r-- | dev-lua/squish/squish-9999.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/dev-lua/squish/squish-9999.ebuild b/dev-lua/squish/squish-9999.ebuild index c31313e..a806b34 100644 --- a/dev-lua/squish/squish-9999.ebuild +++ b/dev-lua/squish/squish-9999.ebuild @@ -4,7 +4,8 @@ EAPI="5" -inherit mercurial eutils +VCS="mercurial" +inherit eutils lua DESCRIPTION="XMPP client library written in Lua." HOMEPAGE="http://code.matthewwild.co.uk/" @@ -15,17 +16,19 @@ SLOT="0" KEYWORDS="" IUSE="luajit" -RDEPEND="virtual/lua[luajit=]" -DEPEND="${RDEPEND}" +READMES=( README ) -src_prepare() { +all_lua_prepare() { use luajit && sed -r \ -e '1s:(env lua):\1jit:' \ -i squish.lua make_squishy } -src_install() { - dobin squish || die; - dobin make_squishy || die; - dodoc README CHANGES || die +all_lua_compile() { + emake +} + +all_lua_install() { + dobin squish + dobin make_squishy } |