diff options
author | Tom William Payne <twp@gentoo.org> | 2004-05-09 14:11:07 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2004-05-09 14:11:07 +0000 |
commit | 25292bef99ece969add0433111b2d4199cbe36ae (patch) | |
tree | f87b9563c4ef279d2286d6df0e18120a93bf1369 /dev-lang | |
parent | Added to ~ppc (diff) | |
download | historical-25292bef99ece969add0433111b2d4199cbe36ae.tar.gz historical-25292bef99ece969add0433111b2d4199cbe36ae.tar.bz2 historical-25292bef99ece969add0433111b2d4199cbe36ae.zip |
Initial commit. Bug # 41992. Ebuild submitted by Richard Garand.
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/toluapp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/toluapp/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/toluapp/files/digest-toluapp-1.0.2 | 1 | ||||
-rw-r--r-- | dev-lang/toluapp/files/toluapp-1.0.2-gentoo.patch | 22 | ||||
-rw-r--r-- | dev-lang/toluapp/metadata.xml | 9 | ||||
-rw-r--r-- | dev-lang/toluapp/toluapp-1.0.2.ebuild | 39 |
6 files changed, 86 insertions, 0 deletions
diff --git a/dev-lang/toluapp/ChangeLog b/dev-lang/toluapp/ChangeLog new file mode 100644 index 000000000000..4b36be7ae172 --- /dev/null +++ b/dev-lang/toluapp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/toluapp +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/toluapp/ChangeLog,v 1.1 2004/05/09 14:11:07 twp Exp $ + +*toluapp-1.0.2 (09 May 2004) + + 09 May 2004; <twp@gentoo.org> +metadata.xml, + +files/toluapp-1.0.2-gentoo.patch, +toluapp-1.0.2.ebuild: + Initial commit. Bug # 41992. Ebuild submitted by Richard Garand. + diff --git a/dev-lang/toluapp/Manifest b/dev-lang/toluapp/Manifest new file mode 100644 index 000000000000..2e30f457e43d --- /dev/null +++ b/dev-lang/toluapp/Manifest @@ -0,0 +1,5 @@ +MD5 2d96d0a2770ccfb0744969b47603af64 toluapp-1.0.2.ebuild 882 +MD5 6f62d7ff1aeee1de862e61ed328bdc9d ChangeLog 416 +MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244 +MD5 d4325b8449d8f996c02c2d81fcb432b4 files/toluapp-1.0.2-gentoo.patch 829 +MD5 0b99ea2ba429f9efe5ba48e52899a77a files/digest-toluapp-1.0.2 66 diff --git a/dev-lang/toluapp/files/digest-toluapp-1.0.2 b/dev-lang/toluapp/files/digest-toluapp-1.0.2 new file mode 100644 index 000000000000..ece3c135ce54 --- /dev/null +++ b/dev-lang/toluapp/files/digest-toluapp-1.0.2 @@ -0,0 +1 @@ +MD5 0bfb13d7cf45c7738d2a93cc599886bb tolua++-1.0.2.tar.bz2 138866 diff --git a/dev-lang/toluapp/files/toluapp-1.0.2-gentoo.patch b/dev-lang/toluapp/files/toluapp-1.0.2-gentoo.patch new file mode 100644 index 000000000000..35be06176d5c --- /dev/null +++ b/dev-lang/toluapp/files/toluapp-1.0.2-gentoo.patch @@ -0,0 +1,22 @@ +diff -Naur tolua++-1.0.2/config_linux.py tolua++/config_linux.py +--- tolua++-1.0.2/config_linux.py 2003-10-23 10:56:24.000000000 +0200 ++++ tolua++/config_linux.py 2004-05-09 15:48:57.414493136 +0200 +@@ -3,7 +3,6 @@ + # use 'scons -h' to see the list of command line options available
+
+ # Compiler flags (based on Debian's installation of lua)
+-CCFLAGS = ['-I/usr/include/lua50']
+
+ # this is the default directory for installation. Files will be installed on
+ # <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
+@@ -13,8 +12,8 @@ + #
+ # You can see more 'generic' options for POSIX systems on config_posix.py
+
+-prefix = '/usr/local'
++prefix = '/usr'
+
+ # libraries (based on Debian's installation of lua)
+-LIBS = ['lua50', 'lualib50', 'dl', 'm']
++LIBS = ['lua', 'lualib', 'dl', 'm']
+
diff --git a/dev-lang/toluapp/metadata.xml b/dev-lang/toluapp/metadata.xml new file mode 100644 index 000000000000..d9bb4626fb2b --- /dev/null +++ b/dev-lang/toluapp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>twp@gentoo.org</email> + <name>Tom Payne</name> +</maintainer> +</pkgmetadata> 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/* +} |