diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-16 15:22:50 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-16 15:22:50 +0000 |
commit | 969a94349f7d9487678292d30960b95f3f4c4e3a (patch) | |
tree | 1e7ca223df3d51952a88012df443ac734db70a9f /dev-games | |
parent | Stable for HPPA (bug #195707). (diff) | |
download | gentoo-2-969a94349f7d9487678292d30960b95f3f4c4e3a.tar.gz gentoo-2-969a94349f7d9487678292d30960b95f3f4c4e3a.tar.bz2 gentoo-2-969a94349f7d9487678292d30960b95f3f4c4e3a.zip |
touchups
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ode/ode-0.8.ebuild | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/dev-games/ode/ode-0.8.ebuild b/dev-games/ode/ode-0.8.ebuild index 316ec31c6812..9c3cff330c0d 100644 --- a/dev-games/ode/ode-0.8.ebuild +++ b/dev-games/ode/ode-0.8.ebuild @@ -1,6 +1,6 @@ # 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.8.ebuild,v 1.9 2007/09/06 07:30:39 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.8.ebuild,v 1.10 2007/10/16 15:22:50 mr_bones_ Exp $ inherit eutils autotools @@ -32,9 +32,18 @@ src_unpack() { epatch "${FILESDIR}"/${P}-flags.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 + sed -i \ + -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${PF}\/examples/" \ + ode/test/*.c* \ + || die "sed failed" + sed -i \ + -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" \ + drawstuff/dstest/dstest.cpp \ + || die "sed failed" + sed -i \ + -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" \ + OPCODE/OPC_TreeCollider.h \ + || die "sed failed" } src_compile() { @@ -44,8 +53,7 @@ src_compile() { $(use_enable !nogyroscopic gyroscopic) \ --enable-release \ || die - - emake || die "ODE compile failed" + emake || die "emake failed" } src_install() { @@ -56,7 +64,6 @@ src_install() { 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 \ @@ -67,9 +74,9 @@ src_install() { 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} + doins ode/test/*.{c,cpp,h} \ + drawstuff/textures/*.ppm \ + drawstuff/dstest/dstest.cpp \ + drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} fi } |