summaryrefslogtreecommitdiff
blob: 73c5dadcc3e4cf7b1a4555befed5f86d9c849066 (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
42
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20060925.ebuild,v 1.1 2006/10/22 12:10:51 jurek Exp $

inherit mono eutils

DESCRIPTION="A simple JavaScript bridge for Gecko#"
HOMEPAGE="http://www.go-mono.com/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

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

DEPEND="|| ( www-client/mozilla-firefox
			www-client/mozilla-firefox-bin
			www-client/mozilla )
		>=dev-lang/mono-1.1.9
		>=dev-dotnet/gtk-sharp-2.4
		>=dev-dotnet/gecko-sharp-0.10"

src_unpack()
{
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/firefox-fix-configure.patch
	epatch ${FILESDIR}/jscall-sharp-gacfix.diff

	einfo "Running autogen..."
	./autogen.sh || die "autogen failed"
}

src_install()
{
	make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) \
		/gacdir /usr/$(get_libdir) /package ${PN}-0.0.2" \
		DESTDIR=${D} install || die

	dodoc ChangeLog README COPYING AUTHORS
}