blob: a79679fd69e51d2fafe8ee224a2598e45f6580e6 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtksourceview-sharp/gtksourceview-sharp-0.5-r2.ebuild,v 1.3 2005/11/18 13:20:34 herbs Exp $
inherit mono multilib
DESCRIPTION="A C# Binding to gtksourceview"
HOMEPAGE="http://www.go-mono.com/"
SRC_URI="http://www.go-mono.com/archive/1.0/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND=">=dev-lang/mono-1.0
>=dev-dotnet/gtk-sharp-1.0.4-r1
>=dev-dotnet/gnome-sharp-1.0.4
=dev-dotnet/gtk-sharp-1.0*
=dev-dotnet/gnome-sharp-1.0*
>=x11-libs/gtksourceview-1.2.0"
src_unpack() {
unpack ${A}
sed -i "s:\`monodoc:${D}\`monodoc:" ${S}/doc/Makefile.in
if [ $(get_libdir) != "lib" ] ; then
sed -i -e 's:@prefix@/lib:@libdir@:' \
-e 's:^libdir.*:libdir=@libdir@:' \
${S}/makefile.{am,in} ${S}/*.pc.in || die
fi
}
src_compile() {
econf || die "./configure failed!"
MAKEOPTS="-j1" make || die "make failed"
}
src_install() {
dodir $(monodoc --get-sourcesdir)
make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) -package gtk-sharp" \
DESTDIR=${D} install || die
# newer gtksourceview versions install these
rm ${D}/usr/share/gtksourceview-1.0/language-specs/{vbnet,nemerle}.lang
}
|