diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-08-28 12:48:48 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-08-28 12:48:48 +0000 |
commit | 8b0815e2cc74ebf383c32fcbb7e36da338f19dac (patch) | |
tree | 28540b517a71daa4c17386a55b8f75ce014f2364 /dev-lang/tolua | |
parent | initial commit (diff) | |
download | gentoo-2-8b0815e2cc74ebf383c32fcbb7e36da338f19dac.tar.gz gentoo-2-8b0815e2cc74ebf383c32fcbb7e36da338f19dac.tar.bz2 gentoo-2-8b0815e2cc74ebf383c32fcbb7e36da338f19dac.zip |
initial commit
Diffstat (limited to 'dev-lang/tolua')
-rw-r--r-- | dev-lang/tolua/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/tolua/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/tolua/files/digest-tolua-5.0 | 1 | ||||
-rw-r--r-- | dev-lang/tolua/tolua-5.0.ebuild | 40 |
4 files changed, 52 insertions, 1 deletions
diff --git a/dev-lang/tolua/ChangeLog b/dev-lang/tolua/ChangeLog new file mode 100644 index 000000000000..c00ed752c521 --- /dev/null +++ b/dev-lang/tolua/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-lang/tolua +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/ChangeLog,v 1.1 2003/08/28 12:48:44 msterret Exp $ + +*tolua-5.0 (28 Aug 2003) + + 28 Aug 2003; Michael Sterrett <msterret@gentoo.org> tolua-5.0.ebuild: + initial commit. + diff --git a/dev-lang/tolua/Manifest b/dev-lang/tolua/Manifest index cd1bf794b659..4607816fe270 100644 --- a/dev-lang/tolua/Manifest +++ b/dev-lang/tolua/Manifest @@ -1,2 +1,3 @@ -MD5 a3aee130692d08727ab4760a620c5b4f tolua-5.0.ebuild 887 +MD5 499b87fd3fa608be3956295acbf493c6 tolua-5.0.ebuild 936 +MD5 796716205dcf6112f7537cff54710826 ChangeLog 329 MD5 8e839d58ded054bfa49ba75a9e769951 files/digest-tolua-5.0 60 diff --git a/dev-lang/tolua/files/digest-tolua-5.0 b/dev-lang/tolua/files/digest-tolua-5.0 new file mode 100644 index 000000000000..d9469566c491 --- /dev/null +++ b/dev-lang/tolua/files/digest-tolua-5.0 @@ -0,0 +1 @@ +MD5 d572bfe7b8cd2af46fcb0a276929f973 tolua-5.0.tar.gz 85636 diff --git a/dev-lang/tolua/tolua-5.0.ebuild b/dev-lang/tolua/tolua-5.0.ebuild new file mode 100644 index 000000000000..5ec8a3624ae9 --- /dev/null +++ b/dev-lang/tolua/tolua-5.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/tolua-5.0.ebuild,v 1.1 2003/08/28 12:48:44 msterret Exp $ + +DESCRIPTION="a tool that simplifies the integration of C/C++ code with Lua" +HOMEPAGE="http://www.tecgraf.puc-rio.br/~celes/tolua/" +SRC_URI="ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/${P}.tar.gz" + +KEYWORDS="x86" +LICENSE="as-is" +SLOT="0" + +DEPEND=">=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e "/^CC=/ s/=.*/=${CC}/" \ + -e "/^LUA=/ s:=.*:=/usr:" \ + -e "s:-O2:${CFLAGS}:" config || \ + die "sed config failed" + sed -i \ + -e 's:make:$(MAKE):' Makefile || \ + die "sed Makefile failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dobin bin/tolua + dolib.a lib/libtolua.a + insinto /usr/include + doins include/tolua.h + dodoc INSTALL README + dohtml doc/* +} |