diff options
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ode/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/ode/Manifest | 2 | ||||
-rw-r--r-- | dev-games/ode/files/digest-ode-0.5-r4 | 1 | ||||
-rw-r--r-- | dev-games/ode/ode-0.5-r4.ebuild | 72 |
4 files changed, 81 insertions, 1 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog index a7074deed396..bb954cc6951c 100644 --- a/dev-games/ode/ChangeLog +++ b/dev-games/ode/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-games/ode # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.16 2005/11/05 12:32:13 chrb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.17 2005/11/12 20:12:02 chrb Exp $ + +*ode-0.5-r4 (12 Nov 2005) + + 12 Nov 2005; <chrb@gentoo.org> +ode-0.5-r4.ebuild: + Added drawstuff headers to go with lib, request by Ulrich Hertlein. 05 Nov 2005; <chrb@gentoo.org> ode-0.5-r3.ebuild: fix for gcc-3.4 diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest index dd3629410359..2b12501e9ef6 100644 --- a/dev-games/ode/Manifest +++ b/dev-games/ode/Manifest @@ -1,5 +1,7 @@ MD5 be7ff2b9eea81e3241df591d0ec2c1e4 ChangeLog 3010 MD5 897a7d200c1e7b0159d465d3220c9eff metadata.xml 509 MD5 b72807f220ba74c2b6478a51c71605d5 ode-0.5-r3.ebuild 2029 +MD5 fe0dc3c287e00b369c8268513bd0e2ca ode-0.5-r4.ebuild 2112 MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r3 57 +MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r4 57 MD5 396acb81503d05b97e7dffe8d6c0003e files/ode-0.5-PIC.patch 446 diff --git a/dev-games/ode/files/digest-ode-0.5-r4 b/dev-games/ode/files/digest-ode-0.5-r4 new file mode 100644 index 000000000000..017c61381927 --- /dev/null +++ b/dev-games/ode/files/digest-ode-0.5-r4 @@ -0,0 +1 @@ +MD5 b33b21e04ee9661f27802b6b6c8eefd2 ode-0.5.tgz 1710720 diff --git a/dev-games/ode/ode-0.5-r4.ebuild b/dev-games/ode/ode-0.5-r4.ebuild new file mode 100644 index 000000000000..5941136685c1 --- /dev/null +++ b/dev-games/ode/ode-0.5-r4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r4.ebuild,v 1.1 2005/11/12 20:12:02 chrb Exp $ + +inherit eutils + +DESCRIPTION="Open Dynamics Engine SDK" +HOMEPAGE="http://ode.org/" +SRC_URI="mirror://sourceforge/opende/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc debug double-precision" + +DEPEND="virtual/x11 + virtual/glu + virtual/opengl" + +config_use() { + use $1 && echo $2 || echo $3 +} + +src_unpack() { + unpack ${A} + cd "${S}" + echo 'C_FLAGS+=$(E_CFLAGS) -fPIC' >> config/makefile.unix-gcc + epatch "${FILESDIR}"/${P}-PIC.patch + sed -i -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${PF}\/examples/" ode/test/*.c* + sed -i -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" drawstuff/dstest/dstest.cpp + sed -i \ + -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" \ + -e "/^BUILD=/s:=.*:=$(config_use debug debug release):" \ + -e "/^PRECISION=/s:=.*:=$(config_use double-precision DOUBLE SINGLE):" \ + config/user-settings + sed -i -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" OPCODE/OPC_TreeCollider.h +} + +src_compile() { + emake \ + -j1 \ + E_CFLAGS="${CFLAGS}" \ + PLATFORM=unix-gcc \ + || die "emake failed" +} + +src_install() { + insinto /usr/include/ode + doins include/ode/*.h || die "doins failed" + insinto /usr/include/drawstuff + doins include/drawstuff/*.h || die "doins failed" + dolib lib/libode.a lib/libdrawstuff.a || die "dolib failed" + dodir /usr/share/${P}/config + insinto /usr/share/${P}/config + doins config/user-settings + if use doc; then + dodoc README CHANGELOG ode/doc/ode.pdf + dohtml ode/doc/ode.html + dodir /usr/share/doc/${PF}/html/pix/ + insinto /usr/share/doc/${PF}/html/pix/ + doins ode/doc/pix/*.jpg + # install examples + dodir /usr/share/${PF}/examples + exeinto /usr/share/${PF}/examples + doexe ode/test/*.exe + doexe drawstuff/dstest/dstest.exe + insinto /usr/share/${PF}/examples + doins ode/test/*.c ode/test/*.cpp + doins drawstuff/textures/*.ppm + doins drawstuff/dstest/dstest.cpp + fi +} |