summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-08-28 12:48:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-08-28 12:48:48 +0000
commit60449382c68b43cc3f14ef063155b20a9c70d0cd (patch)
tree22e9733ce8f0f5ada7e6699c62d323914f0fde05 /dev-lang/tolua
parentinitial commit (diff)
downloadhistorical-60449382c68b43cc3f14ef063155b20a9c70d0cd.tar.gz
historical-60449382c68b43cc3f14ef063155b20a9c70d0cd.tar.bz2
historical-60449382c68b43cc3f14ef063155b20a9c70d0cd.zip
initial commit
Diffstat (limited to 'dev-lang/tolua')
-rw-r--r--dev-lang/tolua/Manifest3
-rw-r--r--dev-lang/tolua/files/digest-tolua-5.01
-rw-r--r--dev-lang/tolua/tolua-5.0.ebuild40
3 files changed, 43 insertions, 1 deletions
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/*
+}