summaryrefslogtreecommitdiff
blob: 7968da48a1f4c37c04ba595ef266a5ee8a0307b0 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

EGIT_REPO_URI="git://anongit.freedesktop.org/~glisse/radeondb"

if [[ ${PV} = 9999* ]]; then
	GIT_ECLASS="git-2"
fi

inherit autotools eutils ${GIT_ECLASS}

DESCRIPTION="a Radeon debugging tool for replaying GPU command stream"

HOMEPAGE="http://jglisse.livejournal.com/"

LICENSE="GPL-3"

SLOT="0"

KEYWORDS="~amd64 ~x86"

IUSE=""

DEPEND="dev-libs/jansson"
RDEPEND="${DEPEND}"

#S="${WORKDIR}/${P}"

src_unpack() {
	[[ $PV = 9999* ]] && git_src_unpack
}

src_prepare() {
	[[ $PV = 9999* ]] && git_src_prepare

	eautoreconf
}

src_configure() {
	econf
}

src_compile() {
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
}