summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-30 10:11:06 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-30 10:11:06 +0000
commitb6347d18be67a373e127fba494e6a5f0b39cf0dc (patch)
tree80938b4be611066c1b08647e94c8f6a11594991f /dev-games/ode/ode-0.7.ebuild
parentFix HOMEPAGE, closes bug #153379. (diff)
downloadgentoo-2-b6347d18be67a373e127fba494e6a5f0b39cf0dc.tar.gz
gentoo-2-b6347d18be67a373e127fba494e6a5f0b39cf0dc.tar.bz2
gentoo-2-b6347d18be67a373e127fba494e6a5f0b39cf0dc.zip
Needs opengl and glu to build examples, bug #153033
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'dev-games/ode/ode-0.7.ebuild')
-rw-r--r--dev-games/ode/ode-0.7.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-games/ode/ode-0.7.ebuild b/dev-games/ode/ode-0.7.ebuild
index 19d17898596f..bbebe1ea0a18 100644
--- a/dev-games/ode/ode-0.7.ebuild
+++ b/dev-games/ode/ode-0.7.ebuild
@@ -1,7 +1,9 @@
# Copyright 1999-2006 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.1 2006/10/17 22:09:43 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.7.ebuild,v 1.2 2006/10/30 10:11:06 nyhm Exp $
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
inherit eutils autotools
DESCRIPTION="Open Dynamics Engine SDK"
@@ -19,9 +21,11 @@ RDEPEND="examples? (
x11-libs/libXmu
x11-libs/libXi
)"
-
-DEPEND="${RDEPEND}
- app-arch/unzip"
+DEPEND="app-arch/unzip
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXmu
+ x11-libs/libXi"
src_unpack() {
unpack ${A}
@@ -41,13 +45,13 @@ src_compile() {
$(use_enable !noopcode opcode) \
$(use_enable !nogyroscopic gyroscopic) \
--enable-release \
- || die "ODE configuration failed"
+ || die
emake || die "ODE compile failed"
}
src_install() {
- make DESTDIR="${D}" install || die "Install failed!"
+ emake DESTDIR="${D}" install || die "Install failed!"
dodoc CHANGELOG.txt README.txt
# Install API docs
dohtml docs/*