diff options
Diffstat (limited to 'dev-lua/toluapp')
-rw-r--r-- | dev-lua/toluapp/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/toluapp/metadata.xml | 7 | ||||
-rw-r--r-- | dev-lua/toluapp/toluapp-1.0.93.ebuild | 50 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-lua/toluapp/Manifest b/dev-lua/toluapp/Manifest new file mode 100644 index 000000000000..68d877b63ace --- /dev/null +++ b/dev-lua/toluapp/Manifest @@ -0,0 +1,5 @@ +DIST tolua++-1.0.93.tar.bz2 163956 SHA256 90df1eeb8354941ca65663dcf28658b67d3aa41daa71133bdd20c35abb1bcaba SHA512 d1ae56b2dd38437e0aef81d5230d1a954b8f914133cfa199a18193d05ecfd188ec2bbeec76e63846ef673dc89c12e47bfd9727c227b71833d622cc441c071013 WHIRLPOOL 4d28cb4135c5d1cf33ecd3fb15a63bed2546690604b5e5312f7f70c69625ef2d2c6d7353c9f5d97d76bc827102d694132eff89eb3685c315115094aa2bb0767b +EBUILD toluapp-1.0.93.ebuild 1090 SHA256 18b6de2641b7fa275f075b93b811838a02688c43abd77ab493ffdfdaeaefe643 SHA512 c1ce00a29c5ca0217a423167de7c9f35a1070d6ba008bc0bae6268e3d34b1480dab561d0253c4817b6350b16a6ce213db3126db615d373748e31871baba4128d WHIRLPOOL 0536d89a813ceeb30d4a43770e2dabaef303f7b7a4fee37db308540cf231e822e2058737ab3904a7d248b4425eefc108d43e0ad6eaca7788c1a3f681b6339cc6 +MISC ChangeLog 2177 SHA256 45973f81504904a669d019d72280d7435f269e1f1e08437ad03038b5ea1e0a67 SHA512 da2c76f0deb2dee19d1f21baf348a53ae9cf34853181e3a9e152ef72dc7a19ed37ea48a0c1e551abebcfa04c659cad78780b2a9e6a0964891a4aa19f26965079 WHIRLPOOL 1e5c06e7b43d0026768e1165e169ecf8429bebf48c9e4c4e7602fb8891ea320d1c357df09a07cee511c6c91634acda989688b8188529498e44980d3a65db3826 +MISC ChangeLog-2015 3856 SHA256 eede483c5f820290d7a932dcba125139d1483fad570d256b3b844f58b8fcb0f9 SHA512 09d0593c4daa99a2096182fbb6a86f9821d741e60b3eaee37810ea7fbd12189e216f50fff1d2a58d47ab7506d4c394b7161cbcdea9c146be358487b6271f1434 WHIRLPOOL 647503447e12e5940fd3b20b8fe976cedbe6b1964233fb66102b1a7215dba4b0e3b69852344cf166f98e2b5b82e855a2fcf368bd5f97a65b7f9bfd04a94a2421 +MISC metadata.xml 228 SHA256 36246e4053bb450c34b537b7cf1d44cf4c594d3983178e758b0341f3caf5e968 SHA512 27499f64eb2cb593e91dd72dc5498d5df3ea7c4402e86897f79ef6fc7f040c6c09be497959af35ee54943f36ac228a6b92302b5d85763e4d0e96398670e81f45 WHIRLPOOL 4ef4bab038106388c9596d2572ae5819c9beff61fc1ca67d4896031ca1dbc87fd6b12c85d58ffd0f37f07057db8b89a58f498543a1598697d94632d121965101 diff --git a/dev-lua/toluapp/metadata.xml b/dev-lua/toluapp/metadata.xml new file mode 100644 index 000000000000..379d1734e2d3 --- /dev/null +++ b/dev-lua/toluapp/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>rafaelmartins@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-lua/toluapp/toluapp-1.0.93.ebuild b/dev-lua/toluapp/toluapp-1.0.93.ebuild new file mode 100644 index 000000000000..408e6ace008f --- /dev/null +++ b/dev-lua/toluapp/toluapp-1.0.93.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs + +MY_P=${P/pp/++} + +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="MIT" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1.1[deprecated]" +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/* +} |