* [gentoo-commits] proj/lua:master commit in: dev-lua/luafilesystem/
@ 2013-05-26 16:09 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-05-26 16:09 UTC (permalink / raw
To: gentoo-commits
commit: ad030197a36a12b04feb87f8862f8aabdf06e506
Author: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sun May 26 16:08:49 2013 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun May 26 16:08:49 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lua.git;a=commit;h=ad030197
[dev-lua/luafilesystem] luajit-related fix
Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>
---
dev-lua/luafilesystem/luafilesystem-9999.ebuild | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/dev-lua/luafilesystem/luafilesystem-9999.ebuild b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
index d995435..7585aa8 100644
--- a/dev-lua/luafilesystem/luafilesystem-9999.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
@@ -3,7 +3,7 @@
# $Header: This ebuild is from Lua overlay; Bumped by mva; $
EAPI="5"
-inherit multilib toolchain-funcs git-2
+inherit multilib eutils git-2
DESCRIPTION="File System Library for the Lua Programming Language"
HOMEPAGE="http://keplerproject.github.com/luafilesystem/"
@@ -14,23 +14,29 @@ SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="doc luajit"
-DEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )"
+DEPEND="
+ !luajit? ( dev-lang/lua )
+ luajit? ( dev-lang/luajit:2 )"
RDEPEND="${DEPEND}"
+DOCS=( README )
+
src_prepare() {
- sed -i \
+ sed \
-e "s|/usr/local|/usr|" \
-e "s|/lib|/$(get_libdir)|" \
-e "s|-O2|${CFLAGS}|" \
-e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
-e "s|gcc|$(tc-getCC)|" \
- config || die
+ -i config || die "config fix failed"
+ use luajit && sed -r \
+ -e "s|(LUA_INC)=.*|\1 = $($(tc-getPKG_CONFIG) luajit --variable includedir)|" \
+ -i config || die "luajit include fix failed"
}
src_install() {
emake PREFIX="${ED}usr" install || die
- dodoc README || die
- dohtml doc/us/* || die
+ use doc && dohtml doc/us/* || die
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/lua:master commit in: dev-lua/luafilesystem/
@ 2013-06-28 10:30 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-06-28 10:30 UTC (permalink / raw
To: gentoo-commits
commit: 75017bc3840c96b86ec6966a30412a8dfe06f7fe
Author: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Fri Jun 28 10:30:33 2013 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Fri Jun 28 10:30:33 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lua.git;a=commit;h=75017bc3
[dev-lua/luafilesystem] fixed wrong die calls
Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>
---
dev-lua/luafilesystem/luafilesystem-9999.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lua/luafilesystem/luafilesystem-9999.ebuild b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
index 7585aa8..ad5ad37 100644
--- a/dev-lua/luafilesystem/luafilesystem-9999.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
@@ -37,6 +37,6 @@ src_prepare() {
}
src_install() {
- emake PREFIX="${ED}usr" install || die
- use doc && dohtml doc/us/* || die
+ emake PREFIX="${ED}usr" install
+ use doc && dohtml doc/us/*
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/lua:master commit in: dev-lua/luafilesystem/
@ 2016-02-18 13:23 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2016-02-18 13:23 UTC (permalink / raw
To: gentoo-commits
commit: ef640b339b343b35cf34f6e4b095a404d42f4d99
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Thu Feb 18 12:36:48 2016 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Thu Feb 18 12:36:48 2016 +0000
URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=ef640b33
luafilesystem: fix
Signed-off-by: Vadim A. Misbakh-Soloviov <git <AT> mva.name>
dev-lua/luafilesystem/luafilesystem-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lua/luafilesystem/luafilesystem-9999.ebuild b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
index 238c930..6e40d11 100644
--- a/dev-lua/luafilesystem/luafilesystem-9999.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-9999.ebuild
@@ -20,7 +20,7 @@ KEYWORDS=""
IUSE="doc"
HTML_DOCS=( doc/us/. )
-READMES=( README )
+READMES=( README.md )
all_lua_prepare() {
sed -e 'd' config
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-18 13:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18 13:23 [gentoo-commits] proj/lua:master commit in: dev-lua/luafilesystem/ Vadim A. Misbakh-Soloviov
-- strict thread matches above, loose matches on Subject: below --
2013-06-28 10:30 Vadim A. Misbakh-Soloviov
2013-05-26 16:09 Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox