summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-07-12 05:10:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-07-12 05:10:23 +0000
commitc8ae0618f2b3f7718b78369b40d3896990d88bbc (patch)
tree22634254f21e73fe0ac6a5d520afd85deee58464 /dev-games/ode
parentwhitespace (diff)
downloadgentoo-2-c8ae0618f2b3f7718b78369b40d3896990d88bbc.tar.gz
gentoo-2-c8ae0618f2b3f7718b78369b40d3896990d88bbc.tar.bz2
gentoo-2-c8ae0618f2b3f7718b78369b40d3896990d88bbc.zip
old
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-games/ode')
-rw-r--r--dev-games/ode/files/digest-ode-0.73
-rw-r--r--dev-games/ode/files/ode-0.7-flags.patch35
-rw-r--r--dev-games/ode/files/ode-0.7-libdir.patch11
-rw-r--r--dev-games/ode/ode-0.7.ebuild82
4 files changed, 0 insertions, 131 deletions
diff --git a/dev-games/ode/files/digest-ode-0.7 b/dev-games/ode/files/digest-ode-0.7
deleted file mode 100644
index 20a52c5c195f..000000000000
--- a/dev-games/ode/files/digest-ode-0.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b6727fef2cbb9ca812438bb774c9d6ec ode-src-0.7.zip 1903503
-RMD160 6215cc2b825321abdf3c9113a2711c6092590e06 ode-src-0.7.zip 1903503
-SHA256 e346097fc41174038a4373d4e6295b04c7dcfaf10489f4c385bd2c0878fbc878 ode-src-0.7.zip 1903503
diff --git a/dev-games/ode/files/ode-0.7-flags.patch b/dev-games/ode/files/ode-0.7-flags.patch
deleted file mode 100644
index 32353d8b8293..000000000000
--- a/dev-games/ode/files/ode-0.7-flags.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- configure.in.old 2006-10-16 23:44:52.000000000 +0200
-+++ configure.in 2006-10-16 23:46:20.000000000 +0200
-@@ -271,9 +271,6 @@
- release=$enableval,release=no)
- if test "x$release" == xyes
- then
-- CFLAGS="-fomit-frame-pointer -ffast-math"
-- CPPFLAGS="-fomit-frame-pointer -ffast-math"
-- CXXFLAGS="-fomit-frame-pointer -ffast-math"
- AC_DEFINE(dNODEBUG,,[Disable debug output])
- fi
- AC_MSG_RESULT($release)
-@@ -282,12 +279,6 @@
- AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],
- [build a debug library with -g]),
- debug=$enableval,debug=no)
--if test "x$debug" == xyes
--then
-- CFLAGS="-g"
-- CPPFLAGS="-g"
-- CXXFLAGS="-g"
--fi
- AC_MSG_RESULT($debug)
-
-
-@@ -403,9 +394,6 @@
- gprof=$enableval,gprof=no)
- if test "$gprof" != no
- then
-- CFLAGS="-pg $CFLAGS"
-- CPPFLAGS="-pg $CPPFLAGS"
-- CXXFLAGS="-pg $CXXFLAGS"
- AC_CHECK_LIB(gmon, main,[LIBS="$LIBS -lgmon"])
- AC_MSG_RESULT(enabled)
- else
diff --git a/dev-games/ode/files/ode-0.7-libdir.patch b/dev-games/ode/files/ode-0.7-libdir.patch
deleted file mode 100644
index c05f6918c899..000000000000
--- a/dev-games/ode/files/ode-0.7-libdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ode/src/Makefile.am.orig 2007-02-03 20:09:21.000000000 +0100
-+++ ode/src/Makefile.am 2007-02-03 20:09:31.000000000 +0100
-@@ -11,7 +11,7 @@
- # Fake an executable in order to get a shared library
- # Note the elegant and cunning way to trick Autotools to install a program
- # in a lib directory. --Rodrigo
--traplibdir=$(prefix)/lib
-+traplibdir=$(prefix)/$(libdir)
- EXEEXT=@so_ext@
- traplib_PROGRAMS=libode
- libode_SOURCES=
diff --git a/dev-games/ode/ode-0.7.ebuild b/dev-games/ode/ode-0.7.ebuild
deleted file mode 100644
index 8c8c9d5f4dad..000000000000
--- a/dev-games/ode/ode-0.7.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.7.ebuild,v 1.3 2007/02/03 19:17:34 blubb Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-inherit eutils autotools
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/"
-SRC_URI="mirror://sourceforge/opende/${PN}-src-${PV}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="double-precision examples nogyroscopic noopcode"
-
-RDEPEND="examples? (
- virtual/opengl
- virtual/glu
- x11-libs/libXmu
- x11-libs/libXi
- )"
-DEPEND="app-arch/unzip
- virtual/opengl
- virtual/glu
- x11-libs/libXmu
- x11-libs/libXi"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-flags.patch
- epatch "${FILESDIR}"/${P}-libdir.patch
- eautoreconf
-
- 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/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" OPCODE/OPC_TreeCollider.h
-}
-
-src_compile() {
- econf \
- $(use_enable double-precision) \
- $(use_enable !noopcode opcode) \
- $(use_enable !nogyroscopic gyroscopic) \
- --enable-release \
- || die
-
- emake || die "ODE compile failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed!"
- dodoc CHANGELOG.txt README.txt
- # Install API docs
- dohtml docs/*
-
- if use examples; then
- # install examples
- dodir /usr/share/${PF}/examples
- exeinto /usr/share/${PF}/examples
- cd ode/test
- doexe test_basket test_boxstack test_buggy test_chain1 test_chain2 \
- test_collision test_crash test_cyl test_cylvssphere test_friction \
- test_hinge test_I test_joints test_motor test_moving_trimesh \
- test_ode test_slider test_space test_space_stress test_step \
- test_trimesh
- cd ../..
- doexe drawstuff/dstest/dstest
- insinto /usr/share/${PF}/examples
- doins ode/test/*.{c,cpp,h}
- doins drawstuff/textures/*.ppm
- doins drawstuff/dstest/dstest.cpp
- doins drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
- fi
-}
-
-src_test() {
- ! LD_LIBRARY_PATH=ode/src ode/test/test_ode | grep -qi fail || die "test failed"
-}