summaryrefslogtreecommitdiff
path: root/dev-games/ogreopcode/ogreopcode-20120908.ebuild
blob: de1c6987bc7fe252a63059a8a40ef09ce1bc6ade (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

SRC_URI="http://www.codercorner.com/Opcode.zip"
EGIT_REPO_URI="git://github.com/egore/OgreOpcode.git
	https://github.com/egore/OgreOpcode.git"
EGIT_COMMIT="a94e46774ce1c24d49431e60ec6cb1c8d6fe5c1d"

inherit autotools git-2 eutils

DESCRIPTION="collision detection library for Ogre based on OPCODE"
HOMEPAGE="http://www.jacmoe.dk/forum/"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="-*"
IUSE=""

RDEPEND=">=dev-games/ogre-1.7.2"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_unpack() {
	git-2_src_unpack
	cd "${S}/include"
	unpack ${A}
}

src_prepare() {
	eautoreconf || die "eautoreconf failed"
}