diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-04-04 21:39:11 +0600 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2015-04-04 21:39:11 +0600 |
commit | d6df0b7f32f667eb1f8d053a8edd8c1f6386df96 (patch) | |
tree | 5936021acfc9b27cefffb47b7fbea53b79e1dd37 /dev-lua/linotify | |
parent | [virtual/lua] fixed eselect deps (diff) | |
download | lua-d6df0b7f32f667eb1f8d053a8edd8c1f6386df96.tar.gz lua-d6df0b7f32f667eb1f8d053a8edd8c1f6386df96.tar.bz2 lua-d6df0b7f32f667eb1f8d053a8edd8c1f6386df96.zip |
[*/*] LuaJITify
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Diffstat (limited to 'dev-lua/linotify')
-rw-r--r-- | dev-lua/linotify/linotify-9999.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dev-lua/linotify/linotify-9999.ebuild b/dev-lua/linotify/linotify-9999.ebuild index 6839e34..8896ccc 100644 --- a/dev-lua/linotify/linotify-9999.ebuild +++ b/dev-lua/linotify/linotify-9999.ebuild @@ -10,16 +10,15 @@ DESCRIPTION="inotify bindings for Lua" HOMEPAGE="https://github.com/hoelzro/linotify" SRC_URI="" -EGIT_REPO_URI="git://github.com/hoelzro/linotify.git https://github.com/hoelzro/linotify.git" +EGIT_REPO_URI="https://github.com/hoelzro/linotify.git" LICENSE="MIT" SLOT="0" KEYWORDS="" IUSE="luajit" -RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )" -DEPEND="${RDEPEND} - luajit? ( dev-lang/luajit:2 )" +RDEPEND="virtual/lua[luajit=]" +DEPEND="${RDEPEND}" src_prepare() { epatch_user @@ -30,15 +29,15 @@ src_compile() { use luajit && LUAPKG_CMD="luajit"; export LUAPKG_CMD; emake \ - CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --cflags) -fPIC -O3 -Wall" \ - || die "emake failed" + CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --cflags) -fPIC" \ + || die "emake failed" } src_install() { insinto /usr/share/doc/"${P}"; doins README.md emake install \ - DESTDIR="${D}" \ - INSTALL_PATH="$($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --variable=INSTALL_CMOD)" \ + DESTDIR="${D}" \ + INSTALL_PATH="$($(tc-getPKG_CONFIG) ${LUAPKG_CMD} --variable=INSTALL_CMOD)" \ || die "emake failed" } |