summaryrefslogtreecommitdiff
blob: 2598cb2d63e3efc2fb48dd000a72081dfa367178 (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.97.1.ebuild,v 1.1 2005/11/11 13:32:00 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.9"

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
}