summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2004-07-29 10:40:43 +0000
committerChris Bainbridge <chrb@gentoo.org>2004-07-29 10:40:43 +0000
commit2b5cb7828a20701e2736eb686e1d1bea2e7314f7 (patch)
tree63572e0eec6ed6cfe261919a91cc10f222efec90 /dev-games/ode
parentVersion bump. Currently only ~x86 is marked. Removed old ebuilds. (Manifest r... (diff)
downloadgentoo-2-2b5cb7828a20701e2736eb686e1d1bea2e7314f7.tar.gz
gentoo-2-2b5cb7828a20701e2736eb686e1d1bea2e7314f7.tar.bz2
gentoo-2-2b5cb7828a20701e2736eb686e1d1bea2e7314f7.zip
Added debug build, TriMesh support, and extended docs with examples
Diffstat (limited to 'dev-games/ode')
-rw-r--r--dev-games/ode/ChangeLog7
-rw-r--r--dev-games/ode/Manifest12
-rw-r--r--dev-games/ode/files/digest-ode-0.5-r11
-rw-r--r--dev-games/ode/ode-0.5-r1.ebuild60
4 files changed, 69 insertions, 11 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog
index 279f02c4aca6..d57c0dfc463b 100644
--- a/dev-games/ode/ChangeLog
+++ b/dev-games/ode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ode
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.6 2004/06/24 22:13:49 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.7 2004/07/29 10:40:43 chrb Exp $
+
+*ode-0.5-r1 (29 Jul 2004)
+
+ 29 Jul 2004; Chris Bainbridge <chrb@gentoo.org> +ode-0.5-r1.ebuild:
+ Added debug build, TriMesh support, and extended docs with examples
*ode-0.5 (01 Jun 2004)
diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 9fca271e1097..42374bb4371a 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 b232a3eeb55f4a6fd695d54914066bd7 ChangeLog 1752
MD5 897a7d200c1e7b0159d465d3220c9eff metadata.xml 509
MD5 652bb8b3ddf461519d23c3c489d77a07 ode-0.039.ebuild 754
MD5 e9920dbeb8519029283de1338db769dc ode-0.5.ebuild 823
+MD5 f9cfa06ce69aad613705eda4253903e4 ode-0.5-r1.ebuild 1644
MD5 d91fbe34bc92b37eaca8d00521fa93cd files/digest-ode-0.039 59
MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5 57
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.8 (GNU/Linux)
-
-iD8DBQFA4YWqHTu7gpaalycRAmBKAJ9twveV+9NSdYkBX9o3/SDswPeZgACguzyX
-F99USRs/vf/912yszfydcuM=
-=hCq4
------END PGP SIGNATURE-----
+MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r1 57
diff --git a/dev-games/ode/files/digest-ode-0.5-r1 b/dev-games/ode/files/digest-ode-0.5-r1
new file mode 100644
index 000000000000..017c61381927
--- /dev/null
+++ b/dev-games/ode/files/digest-ode-0.5-r1
@@ -0,0 +1 @@
+MD5 b33b21e04ee9661f27802b6b6c8eefd2 ode-0.5.tgz 1710720
diff --git a/dev-games/ode/ode-0.5-r1.ebuild b/dev-games/ode/ode-0.5-r1.ebuild
new file mode 100644
index 000000000000..ea9a97c68b6a
--- /dev/null
+++ b/dev-games/ode/ode-0.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r1.ebuild,v 1.1 2004/07/29 10:40:43 chrb Exp $
+
+DESCRIPTION="Open Dynamics Engine SDK"
+HOMEPAGE="http://ode.org"
+SRC_URI="mirror://sourceforge/opende/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc
+ virtual/x11
+ virtual/glu
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ echo 'C_FLAGS+=$(E_CFLAGS)' >> "${S}/config/makefile.unix-gcc"
+ if use debug; then
+ sed -e "s/#BUILD=d/BUILD=d/" \
+ -e "s/BUILD=r/#BUILD=r/" \
+ -i ${S}/config/user-settings
+ fi
+ sed -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" -i ${S}/config/user-settings
+ sed -e 's/..\/..\/drawstuff\/textures/.\//' -i ${S}/ode/test/*.c*
+ sed -e 's/fn.path_to_textures = 0/fn.path_to_textures = ".\/"/' -i ${S}/drawstuff/dstest/dstest.cpp
+}
+
+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"
+ dolib lib/libode.a lib/libdrawstuff.a || die "dolib failed"
+ if use doc; then
+ dodoc README CHANGELOG ode/doc/ode.pdf
+ dohtml ode/doc/ode.html
+ dodir /usr/share/doc/${P}/html/pix/
+ insinto /usr/share/doc/${P}/html/pix/
+ doins ode/doc/pix/*.jpg
+ # install examples
+ dodir /usr/share/${P}/examples
+ exeinto /usr/share/${P}/examples
+ doexe ode/test/*.exe
+ doexe drawstuff/dstest/dstest.exe
+ insinto /usr/share/${P}/examples
+ doins ode/test/*.c ode/test/*.cpp
+ doins drawstuff/textures/*.ppm
+ doins drawstuff/dstest/dstest.cpp
+ fi
+}