-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=3
-inherit mono multilib
+EAPI=6
+inherit mono-env
DESCRIPTION="glib integration for DBus-Sharp"
HOMEPAGE="http://www.ndesk.org/DBusSharp"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="debug"
+IUSE=""
-RDEPEND=">=dev-lang/mono-1.2.4
- >=dev-dotnet/ndesk-dbus-0.4"
+RDEPEND="
+ >=dev-lang/mono-1.2.4
+ >=dev-dotnet/ndesk-dbus-0.4
+"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
-src_compile() {
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
+src_prepare() {
+ default
+ # mono-4 compat
+ sed -i "s#gmcs#mcs#g" configure || die
}