summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-27 22:22:51 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-27 22:22:51 +0000
commit84bbeb0c2e9250e6c4f6e23061d1dd7645164478 (patch)
tree25889f0f718de65bcc0e8497cfced95aaefca93e /dev-games
parentRemove Old. (diff)
downloadgentoo-2-84bbeb0c2e9250e6c4f6e23061d1dd7645164478.tar.gz
gentoo-2-84bbeb0c2e9250e6c4f6e23061d1dd7645164478.tar.bz2
gentoo-2-84bbeb0c2e9250e6c4f6e23061d1dd7645164478.zip
EAPI=2
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ode/ChangeLog7
-rw-r--r--dev-games/ode/ode-0.10.1.ebuild17
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog
index a4df29674f91..3a0b0d0f3362 100644
--- a/dev-games/ode/ChangeLog
+++ b/dev-games/ode/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/ode
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.49 2008/09/03 18:57:17 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.50 2009/01/27 22:22:51 mr_bones_ Exp $
+
+ 27 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> ode-0.10.1.ebuild:
+ EAPI=2
03 Sep 2008; Tristan Heaven <nyhm@gentoo.org> ode-0.10.1.ebuild:
Add doc and examples USE flags
diff --git a/dev-games/ode/ode-0.10.1.ebuild b/dev-games/ode/ode-0.10.1.ebuild
index 6be9d4e10edd..68931438f7b0 100644
--- a/dev-games/ode/ode-0.10.1.ebuild
+++ b/dev-games/ode/ode-0.10.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.10.1.ebuild,v 1.2 2008/09/03 18:57:17 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.10.1.ebuild,v 1.3 2009/01/27 22:22:51 mr_bones_ Exp $
+EAPI=2
DESCRIPTION="Open Dynamics Engine SDK"
HOMEPAGE="http://ode.org/"
SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
@@ -18,9 +19,7 @@ RDEPEND="examples? (
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \
drawstuff/src/Makefile.in \
@@ -28,7 +27,7 @@ src_unpack() {
|| die "sed Makefile.in failed"
}
-src_compile() {
+src_configure() {
econf \
--disable-dependency-tracking \
--enable-shared \
@@ -36,8 +35,10 @@ src_compile() {
$(use_enable double-precision) \
$(use_enable examples demos) \
$(use_enable gyroscopic) \
- $(use_with examples drawstuff X11) \
- || die
+ $(use_with examples drawstuff X11)
+}
+
+src_compile() {
emake || die "emake failed"
if use doc ; then
cd ode/doc