diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-08-21 17:56:38 +0300 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-08-21 17:56:38 +0300 |
commit | 9cf0cc64a93714b89edc053151eefe604bb4b1f5 (patch) | |
tree | 0804baa11544da3b7b71f8798a4c28a252954264 /dev-lua | |
parent | Added dev-lua/luaexpat (diff) | |
download | hawking-9cf0cc64a93714b89edc053151eefe604bb4b1f5.tar.gz hawking-9cf0cc64a93714b89edc053151eefe604bb4b1f5.tar.bz2 hawking-9cf0cc64a93714b89edc053151eefe604bb4b1f5.zip |
Added dev-lua/luancurses
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luancurses/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lua/luancurses/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luancurses/luancurses-0.01.ebuild | 45 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-lua/luancurses/ChangeLog b/dev-lua/luancurses/ChangeLog new file mode 100644 index 0000000..7df1c4a --- /dev/null +++ b/dev-lua/luancurses/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-lua/luancurses +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*luancurses-0.01 (21 Aug 2008) + + 21 Aug 2008; Ali Polatel <hawking@gentoo.org> +luancurses-0.01.ebuild: + Initial ebuild + diff --git a/dev-lua/luancurses/Manifest b/dev-lua/luancurses/Manifest new file mode 100644 index 0000000..0bf0f29 --- /dev/null +++ b/dev-lua/luancurses/Manifest @@ -0,0 +1,2 @@ +DIST LuaNcurses-0.01.tar.gz 8704 RMD160 b818065b71fb1f722677286c0b25b52ed177febe SHA1 42bdeab9d47910b83e28e8022fe6acff84e89027 SHA256 fcb706cb9c761f2a654aae0f7cbdd89931ab9876cc3ad91537cfa75649530408 +EBUILD luancurses-0.01.ebuild 903 RMD160 eca56333d3bac6318855a1f4b59af87d3d2cd5ef SHA1 07c8534a1de0e2d5d51ce743132c6f36686aeafd SHA256 62e7d36bd4698b253dc7def962a65eb3a0deb4404402f416362e49b34add1d38 diff --git a/dev-lua/luancurses/luancurses-0.01.ebuild b/dev-lua/luancurses/luancurses-0.01.ebuild new file mode 100644 index 0000000..078d404 --- /dev/null +++ b/dev-lua/luancurses/luancurses-0.01.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib + +MY_PN="LuaNcurses" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Ncurses interface for Lua" +HOMEPAGE="http://luaforge.net/projects/luancurses/" +SRC_URI="http://luaforge.net/frs/download.php/3224/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-lang/lua-5.1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s:/usr/local/lib:${D}/usr/$(get_libdir):g" Make.config \ + || die "sed in Make.config failed" + + sed -i \ + -e "s:^\(COMMONFLAGS = \)-Werror \(.*\):\1 \2 ${CFLAGS}:" \ + -e "s:^\(LDFLAGS.*\):\1 ${LDFLAGS}:" \ + Makefile || die "sed in Makefile failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} + |