# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono eutils fdo-mime DESCRIPTION="Free .NET development environment" HOMEPAGE="http://monodevelop.com/" SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="boo debugger java" DEPEND=">=dev-dotnet/gtksourceview-sharp-0.10 >=dev-dotnet/gecko-sharp-0.10 >=dev-lang/mono-1.1.10 >=dev-util/monodoc-1.0 >=dev-dotnet/gtk-sharp-2.4.2 >=dev-dotnet/gnomevfs-sharp-2.4.0 >=dev-dotnet/gnome-sharp-2.4.0 >=dev-dotnet/gconf-sharp-2.4.0 >=dev-dotnet/gtkhtml-sharp-2.4.0 >=dev-dotnet/glade-sharp-2.4.0 >=dev-dotnet/vte-sharp-2.4.0 boo? ( >=dev-lang/boo-0.7.5 ) java? ( || ( >=dev-dotnet/ikvm-bin-0.14 >=dev-dotnet/ikvm-0.14.0.1-r1 ) )" RDEPEND="${DEPEND}" src_compile() { econf \ $(use_enable boo) \ $(use_enable debugger) \ $(use_enable java) \ --enable-nunit \ --enable-versioncontrol \ --disable-update-mimedb \ --disable-update-desktopdb \ || die "configure failed" emake -j1 || die "make failed" } src_install () { emake DESTDIR="${D}" install || die "make install failed" dodoc ChangeLog README } pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update }