summaryrefslogtreecommitdiff
blob: 6cb0a59f99e53050d16e35210e644a80b84e9882 (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
# 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"

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
}