blob: d992162f29c8d2ac3e919eb1d0bf48e91275c83d (
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
43
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/gecko-sharp-0.13.ebuild,v 1.4 2009/03/27 16:00:57 ranger Exp $
EAPI=2
inherit mono multilib eutils
DESCRIPTION="A Gtk# Mozilla binding"
HOMEPAGE="http://www.go-mono.com/"
SRC_URI="http://ftp.novell.com/pub/mono/sources/gecko-sharp2/${PN}-2.0-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="amd64 ppc x86"
IUSE="doc"
S="${WORKDIR}/${PN}-2.0-${PV}"
RDEPEND=">=dev-lang/mono-1.2
>=dev-dotnet/gtk-sharp-2
>=net-libs/xulrunner-1.9"
DEPEND="${RDEPEND}
doc? ( >=virtual/monodoc-1.0 )
>=dev-util/pkgconfig-0.19"
src_prepare() {
epatch "${FILESDIR}/${P}-xulrunner.patch"
}
src_configure() {
export GACUTIL_FLAGS="-root ${D}/usr/$(get_libdir) -gacdir /usr/$(get_libdir) -package ${PN}-${SLOT}"
econf --with-mozilla-libs="$(pkg-config --variable=sdkdir libxul)" --with-mozilla-header="$(pkg-config --variable=includedir libxul)" || die "configure failed"
}
src_compile() {
emake || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "install failed"
}
|