blob: c39b180ba483d401611fad253c887f2889b1c563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyode/pyode-1.1.0.ebuild,v 1.2 2005/08/04 15:05:35 dholm Exp $
inherit distutils
MY_P="${P/pyode/PyODE}"
DESCRIPTION="python bindings to the ode physics engine"
HOMEPAGE="http://pyode.sourceforge.net/"
SRC_URI="mirror://sourceforge/pyode/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""
DEPEND="virtual/python
>=dev-games/ode-0.5
>=dev-python/pyrex-0.9.3"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e "s:#ODE_BASE = .*:ODE_BASE = '/usr/share/ode-0.5':" setup.py
}
|