summaryrefslogtreecommitdiff
blob: c2f952fcbfcf6f54a1f24aa819d176b9a112ca00 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/qgit/qgit-0.96.1.ebuild,v 1.1 2005/10/30 12:05:21 ferdy Exp $

DESCRIPTION="GUI interface for git/cogito SCM"
HOMEPAGE="http://digilander.libero.it/mcostalba/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=x11-libs/qt-3.3
	dev-util/scons"
RDEPEND=">=x11-libs/qt-3.3
	>=dev-util/git-0.99.8f"

src_unpack() {
	unpack ${A} ; cd ${S}

	# If scons sucked less this would be easier
	MY_CXXFLAGS=${CXXFLAGS// /\',\'}
	sed -i -e "s~-O2~${MY_CXXFLAGS}~" SConstruct || die "sed failed"
}

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

src_install() {
	dobin bin/qgit
	dodoc README ChangeLog
}