summaryrefslogtreecommitdiff
blob: 10d8d97a782025f9cfb1fdfd5755d9485356869f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/monodoc/monodoc-1.0.2.ebuild,v 1.2 2004/10/26 21:53:58 latexer Exp $

inherit mono

DESCRIPTION="Documentation for mono's .Net class library"
HOMEPAGE="http://www.go-mono.com"
SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=dev-dotnet/mono-1.0.2
		>=dev-dotnet/gtk-sharp-1.0.2"

src_unpack() {
	if [ ! -f ${ROOT}/usr/lib/mono/gtk-sharp/gtkhtml-sharp.dll ]
	then
		echo
		eerror "Support for gtkhtml missing from gtk-sharp!"
		eerror "Please re-emerge gtk-sharp with 'gtkhtml' in USE,"
		eerror "then emerge monodoc."
		die "gtkhtml support missing from gtk-sharp"
	fi
	unpack ${A}
}

src_compile() {
	econf || die
	MAKEOPTS="${MAKEOPTS} -j1"
	emake || die "make failed"
}

src_install() {
	make DESTDIR=${D} install || die
}