summaryrefslogtreecommitdiff
blob: ec51a16a46a0b3a35f430c013e42f9e21aa6248b (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A quilt-like system built on top of git"
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt"
SRC_URI="mirror://kernel/linux/kernel/people/jsipek/guilt/${P}.tar.bz2"

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

DEPEND="doc? (	app-text/asciidoc
				app-text/xmlto )"
RDEPEND="dev-util/git
		 >=sys-apps/findutils-4.3"

src_compile() {
	if use doc; then
		make -C ${S}/Documentation man
	else
		einfo "Nothing to compile. :-)"
	fi
}

src_install() {
	make PREFIX=${D}/usr install
	if use doc; then
		make -C ${S}/Documentation PREFIX=${D}/usr install
	fi
	dodoc COPYING Documentation/HOWTO Documentation/Contributing
}