# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.0.1-r1.ebuild,v 1.1 2008/12/25 23:06:13 loki_val Exp $ EAPI=2 inherit base eutils flag-o-matic multilib autotools DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" HOMEPAGE="http://www.go-mono.com" SRC_URI="ftp://ftp.novell.com/pub/mono/sources/mono/${P}.tar.bz2" LICENSE="|| ( GPL-2 LGPL-2 X11 )" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" IUSE="minimal" RDEPEND="!>> Test phase [check]: ${CATEGORY}/${PF}" mkdir -p "${T}/home/mono" || die "mkdir home failed" export HOME="${T}/home/mono" export XDG_CONFIG_HOME="${T}/home/mono" export XDG_DATA_HOME="${T}/home/mono" if ! LC_ALL=C emake -j1 check; then hasq test $FEATURES && die "Make check failed. See above for details." hasq test $FEATURES || eerror "Make check failed. See above for details." fi } src_install() { emake -j1 DESTDIR="${D}" install || die "install failed" dodoc AUTHORS ChangeLog NEWS README docinto docs dodoc docs/* docinto libgc dodoc libgc/ChangeLog }