blob: e055b5a705a6d47d77fbcbce59d316859cbffe29 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/galago-sharp/galago-sharp-0.5.0.ebuild,v 1.8 2007/02/03 14:40:42 nixnut Exp $
inherit eutils mono autotools
DESCRIPTION="Mono bindings to Galago"
HOMEPAGE="http://galago-project.org"
SRC_URI="http://galago-project.org/files/releases/source/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=">=dev-lang/mono-1.0
>=sys-apps/dbus-0.36
=dev-dotnet/gtk-sharp-2*
>=dev-libs/libgalago-0.5.0"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
pkg_setup() {
if [[ -z $(best_version '>=sys-apps/dbus-0.90') ]] ; then
if ! built_with_use 'sys-apps/dbus' mono ; then
eerror "Please build dbus with mono support"
die "dbus without mono support detected"
fi
fi
}
src_unpack() {
unpack ${A}
cd ${S}
# Hard enable/disable tests
epatch ${FILESDIR}/${PN}-0.5.0-tests.patch
# Nasty hack to prevent building of the tests
sed -i -e 's/ tests//' ${S}/Makefile.am
einfo "Rebuilding the build environment, this may take a few minutes..."
eautoreconf
}
src_compile() {
econf --disable-tests || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
dodoc AUTHORS ChangeLog NEWS README
}
|