blob: 58ca2d1ba89e69ed67a523c83d80e1a1666a0540 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.91.1.ebuild,v 1.4 2004/06/24 22:03:11 agriffis Exp $
inherit eutils mono
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="gnome gnomedb libgda gtkhtml"
RDEPEND=">=sys-apps/sed-4.0
>=dev-dotnet/mono-0.91
>=x11-libs/gtk+-2.2
>=gnome-base/libglade-2
>=gnome-base/ORBit2-2.8.3
gnome? ( >=gnome-base/libgnomecanvas-2.2
>=gnome-base/libgnomeui-2.2
>=gnome-base/libgnomeprintui-2.2 )
libgda? ( >=gnome-extra/libgda-0.11 )
gnomedb? ( >=gnome-extra/libgnomedb-0.11 )
gtkhtml? ( >=gnome-extra/libgtkhtml-3.0.10 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
KEYWORDS="~x86 ~ppc"
src_unpack() {
unpack ${A}
# Sets ${installvendorlib} variable to be used later
eval `perl '-V:installvendorlib'`
# disable building of samples (#16015)
cd ${S}
sed -i -e "s:sample::" -e "s:doc::" Makefile.in
# Fix the installation location of the GAPI Metadata perl module
cd ${S}/parser/GAPI/
sed -i -e "s:\$(datadir)/perl5:${D}/${installvendorlib}:" Makefile.in
}
src_compile() {
econf || die "./configure failed"
MAKEOPTS="-j1" MONO_PATH=${S} emake || die
}
src_install () {
# one of the samples require gconf schemas, and it'll violate sandbox
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" einstall || die
dodoc README* ChangeLog
}
|