diff options
author | 2008-10-23 13:46:59 +0300 | |
---|---|---|
committer | 2008-10-23 13:46:59 +0300 | |
commit | 8fade7be58a2fa13bf4085634c50ffe1c91a516c (patch) | |
tree | 51eb566ef28045cede09abc67da3cae8979fdaa3 | |
parent | Added dev-lua/lunit (diff) | |
download | hawking-8fade7be58a2fa13bf4085634c50ffe1c91a516c.tar.gz hawking-8fade7be58a2fa13bf4085634c50ffe1c91a516c.tar.bz2 hawking-8fade7be58a2fa13bf4085634c50ffe1c91a516c.zip |
Add dev-lua/luairc.
-rw-r--r-- | dev-lua/luairc/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luairc/luairc-0.3.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-lua/luairc/Manifest b/dev-lua/luairc/Manifest new file mode 100644 index 0000000..ecb2172 --- /dev/null +++ b/dev-lua/luairc/Manifest @@ -0,0 +1,2 @@ +DIST LuaIRC-0.3.tar.gz 30625 RMD160 7b6117e4b17b1cf0a1fb33221e4d10fbc163aa99 SHA1 8a3df88c98598f25599f3c957c2c537b29330ce7 SHA256 ecce5660950dfb3c71435f2b8f4cd0add8c15e02926a3861c4ce04e17db85eb3 +EBUILD luairc-0.3.ebuild 894 RMD160 4ff6f5d4bd8df2f165417e509151a4a912cbb0be SHA1 7c4ed9359a21c292ed3793b525afbb6b8604740c SHA256 b17cea2d28ed3b1085167968a1a7a033db3a9f1d897caf9bc7ecd0ab73c0e5fb diff --git a/dev-lua/luairc/luairc-0.3.ebuild b/dev-lua/luairc/luairc-0.3.ebuild new file mode 100644 index 0000000..b667b94 --- /dev/null +++ b/dev-lua/luairc/luairc-0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +inherit lua + +MY_P="LuaIRC-${PV}" + +DESCRIPTION="A fully featured IRC framework written entirely in Lua." +HOMEPAGE="http://luaforge.net/projects/luairc/" +SRC_URI="http://luaforge.net/frs/download.php/2606/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples" + +DEPEND=">=dev-lang/lua-5.1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + sed -i \ + -e "s:\(LUA_DIR = \).*:\1${D}/$(lua_get_sharedir):" \ + Make.config || die "sed in Make.config failed" +} + +src_install() { + emake install || die "emake failed" + + dodoc README TODO || die "dodoc failed" + if use doc; then + dohtml -r doc/* || die "dohtml failed" + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins test/* || die "doins failed" + fi +} |