56 lines
1.3 KiB
Bash
56 lines
1.3 KiB
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-2.10.ebuild,v 1.7 2012/05/04 17:51:44 jdhore Exp $
|
|
|
|
EAPI="4"
|
|
|
|
inherit go-mono mono autotools
|
|
|
|
DESCRIPTION="Set of useful Mono related utilities"
|
|
HOMEPAGE="http://www.mono-project.com/"
|
|
|
|
LICENSE="GPL-2 MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="+webkit gtkhtml"
|
|
|
|
RDEPEND="=virtual/monodoc-${GO_MONO_REL_PV}*
|
|
>=dev-dotnet/gtk-sharp-2.12.6:2
|
|
>=dev-dotnet/glade-sharp-2.12.6:2
|
|
>=dev-dotnet/gconf-sharp-2:2
|
|
gtkhtml? ( >=dev-dotnet/gtkhtml-sharp-2.24.0:2 )
|
|
webkit? ( >=dev-dotnet/webkit-sharp-0.2-r1 )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
sys-devel/gettext
|
|
virtual/pkgconfig"
|
|
|
|
PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch"
|
|
"${FILESDIR}/${PN}-2.10-autoconf.patch" )
|
|
|
|
#Fails parallel make.
|
|
MAKEOPTS="${MAKEOPTS} -j1"
|
|
|
|
pkg_setup() {
|
|
if ! use webkit && ! use gtkhtml
|
|
then
|
|
die "You must USE either webkit or gtkhtml"
|
|
fi
|
|
}
|
|
|
|
src_prepare() {
|
|
go-mono_src_prepare
|
|
|
|
# Stop getting ACLOCAL_FLAGS command not found problem like bug #298813
|
|
sed -i -e '/ACLOCAL_FLAGS/d' Makefile.am || die
|
|
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf --disable-dependency-tracking \
|
|
--disable-gecko \
|
|
$(use_enable gtkhtml) \
|
|
$(use_enable webkit) \
|
|
--disable-monowebbrowser
|
|
}
|