# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono eutils fdo-mime MY_P=${P/mono/mono-} DESCRIPTION="The Mono Debugger (MDB) can debug both managed and unmanaged applications" HOMEPAGE="http://www.mono-project.com/Debugger" SRC_URI="http://go-mono.com/sources/mono-debugger/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" # ATTENTION: the minimun requirements for mono-debugger is dev-lang/mono-1.1.15, # so do not use previous releases DEPEND=">=dev-lang/mono-1.1.16.1" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" src_compile() { econf || 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 }