diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-02 14:12:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-02 14:12:04 +0000 |
commit | b28818124e92f90ddc6134eccc422b2f64cfe9d3 (patch) | |
tree | 400f0c3d36425392dc8bb82e00221dc31d427dff /dev-lang/toluapp | |
parent | stable x86, bug 259172 (diff) | |
download | gentoo-2-b28818124e92f90ddc6134eccc422b2f64cfe9d3.tar.gz gentoo-2-b28818124e92f90ddc6134eccc422b2f64cfe9d3.tar.bz2 gentoo-2-b28818124e92f90ddc6134eccc422b2f64cfe9d3.zip |
Version bump. Use shared library wrt #193744.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/toluapp')
-rw-r--r-- | dev-lang/toluapp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/toluapp/toluapp-1.0.93.ebuild | 49 |
2 files changed, 57 insertions, 2 deletions
diff --git a/dev-lang/toluapp/ChangeLog b/dev-lang/toluapp/ChangeLog index a37c3b858c6a..2665dde2bb1f 100644 --- a/dev-lang/toluapp/ChangeLog +++ b/dev-lang/toluapp/ChangeLog @@ -1,11 +1,17 @@ # ChangeLog for dev-lang/toluapp # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/toluapp/ChangeLog,v 1.18 2009/07/01 21:17:47 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/toluapp/ChangeLog,v 1.19 2009/07/02 14:12:04 ssuominen Exp $ + +*toluapp-1.0.93 (02 Jul 2009) + + 02 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + +toluapp-1.0.93.ebuild: + Version bump. Use shared library wrt #193744. 01 Jul 2009; Markus Meier <maekke@gentoo.org> toluapp-1.0.92.ebuild: amd64 stable, bug #255080 - 17 May 2008; Samuli Suominen <drac@gentoo.org> + 17 May 2008; Samuli Suominen <ssuominen@gentoo.org> -files/toluapp-1.0.2-gentoo.patch, -toluapp-1.0.2.ebuild, -toluapp-1.0.7_p1.ebuild, toluapp-1.0.92.ebuild: Move scons to DEPEND wrt #220441. Remove old versions and keyword ~amd64 diff --git a/dev-lang/toluapp/toluapp-1.0.93.ebuild b/dev-lang/toluapp/toluapp-1.0.93.ebuild new file mode 100644 index 000000000000..d2e92fc141ce --- /dev/null +++ b/dev-lang/toluapp/toluapp-1.0.93.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/toluapp/toluapp-1.0.93.ebuild,v 1.1 2009/07/02 14:12:04 ssuominen Exp $ + +inherit toolchain-funcs + +MY_P=${PN/pp/++}-${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" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1.1" +DEPEND="${RDEPEND} + dev-util/scons" + +S=${WORKDIR}/${MY_P} + +src_compile() { + echo "## BEGIN gentoo.py + +LIBS = ['lua', 'dl', 'm'] + +## END gentoo.py" > ${S}/custom.py + + scons \ + CC="$(tc-getCC)" \ + CCFLAGS="${CFLAGS} -ansi -Wall" \ + CXX="$(tc-getCXX)" \ + LINK="$(tc-getCC)" \ + LINKFLAGS="${LDFLAGS}" \ + shared=1 || die "scons failed" +} + +src_install() { + dobin bin/tolua++ || die "dobin failed" +# dobin bin/tolua++_bootstrap || die "dobin failed" +# dolib.a lib/libtolua++_static.a || die "dolib.a failed" + dolib.so lib/libtolua++.so || die "dolib.so failed" + insinto /usr/include + doins include/tolua++.h || die "doins failed" + dodoc README + dohtml doc/* +} |