summaryrefslogtreecommitdiff
blob: 6c2512b443cc8ed4b9edefd6addbb5be95537acb (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
35
36
37
38
39
40
41
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/repodoc/repodoc-9999.ebuild,v 1.3 2008/01/09 16:01:25 yoswink Exp $

EGIT_REPO_URI="git://git.ferdyx.org/repodoc.git"
EGIT_BRANCH="next"
EGIT_BOOTSTRAP="./autogen.bash"

inherit git mono

DESCRIPTION="A tool designed to make checks on Gentoo official docs"
HOMEPAGE="http://dev.gentoo.org/~yoswink/repodoc/"
SRC_URI=""

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

COMMON_DEPEND="dev-libs/libxml2
	gtk? ( dev-dotnet/gtk-sharp )"

DEPEND="${COMMON_DEPEND}
	dev-util/pkgconfig
	doc? ( app-text/txt2tags )"

RDEPEND="${COMMON_DEPEND}
	|| ( sys-apps/gawk sys-apps/mawk sys-apps/busybox )"

src_compile() {
	econf \
		$(use_enable gtk) \
		$(use_enable doc txt2tags) \
			|| die 'econf failed!'
	emake || die 'emake failed!'
}

src_install() {
	make DESTDIR="${D}" install || die 'install failed!'
	dodoc AUTHORS ChangeLog
}