summaryrefslogtreecommitdiff
blob: abc16d442b2ea2df03591a80139c02bf0295716d (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ode/ode-0.035.ebuild,v 1.1 2003/04/02 15:53:27 malverian Exp $

IUSE=""

S=${WORKDIR}/${P}
DESCRIPTION="Open Dynamics Engine SDK"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/opende/${P}.tgz"
HOMEPAGE="http://opende.sourceforge.net"

LICENSE="LGPL-2.1"
KEYWORDS="x86 ~ppc"
SLOT="0"

DEPEND="virtual/opengl"

src_unpack() {
	unpack ${A}
	cd ${S}/config
	sed s,'PLATFORM=msvc','PLATFORM=unix-gcc', user-settings >user-settings.gcc || die
	mv user-settings.gcc user-settings || die
}

src_compile() {
	make || die
}

src_install() {
	dodir /usr/include/ode
	insinto /usr/include/ode
	doins include/ode/*.h

	dolib lib/libode.a
	dolib lib/libdrawstuff.a

	dodoc README CHANGELOG LICENSE.TXT
}