summaryrefslogtreecommitdiff
blob: 9b7ad283e9744e8780796dbb75629fbaa2d4196e (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.ebuild,v 1.1 2008/01/21 19:54:35 kanaka Exp $

inherit eutils
DESCRIPTION="CodeSourcery's test harness system"
HOMEPAGE="http://www.codesourcery.com/qmtest/"
SRC_URI="http://www.codesourcery.com/public/${PN}/${PF}/${PF}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-lang/python"

src_compile() {
	python setup.py build || die "setup.py build failed"
}

src_install() {
	python setup.py install --root ${D} \
		|| die "setup.py install failed"

	sed -i "s@${D}@/usr@" ${D}/usr/lib*/python2.4/site-packages/qm/config.py \
		|| die "Could not adjust install path in config.py"
}