summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/toluapp/toluapp-1.0.2.ebuild')
-rw-r--r--dev-lang/toluapp/toluapp-1.0.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/toluapp/toluapp-1.0.2.ebuild b/dev-lang/toluapp/toluapp-1.0.2.ebuild
new file mode 100644
index 000000000000..96274699c799
--- /dev/null
+++ b/dev-lang/toluapp/toluapp-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/toluapp/toluapp-1.0.2.ebuild,v 1.1 2004/05/09 14:11:07 twp Exp $
+
+inherit eutils
+
+MY_PN=${PN/toluapp/tolua++}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="A tool to integrate C/C++ code with Lua."
+HOMEPAGE="http://www.codenix.com/~tolua/"
+SRC_URI="http://www.codenix.com/~tolua/${MY_P}.tar.bz2"
+KEYWORDS="~x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=dev-lang/lua-5
+ dev-util/scons
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/toluapp-1.0.2-gentoo.patch
+}
+
+src_compile() {
+ scons CC="${CC}" CCFLAGS="${CFLAGS}" LINK="${CC}" all
+}
+
+src_install() {
+ dobin bin/tolua++
+ dolib.a lib/libtolua++.a
+ insinto /usr/include
+ doins include/tolua++.h
+ dodoc INSTALL README
+ dohtml doc/*
+}