diff options
Diffstat (limited to 'dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild')
-rw-r--r-- | dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild index 96ad3fc..e874f74 100644 --- a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild +++ b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.5.2.ebuild @@ -49,12 +49,16 @@ src_compile() { src_install() { emake -C src DESTDIR="${D}" prefix=/usr install || die "emake install failed" - dodoc README COPYING + dodoc README COPYING || die - use glib && emake -C ${GLIB_S}/glib DESTDIR="${D}" prefix=/usr \ - DBUS_SHARP_PREFIX=${S} install || die "emake installfailed" + if use glib ; then + emake -C ${GLIB_S}/glib DESTDIR="${D}" prefix=/usr \ + DBUS_SHARP_PREFIX=${S} install || die "emake install failed" + fi insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}-1.0.pc - use glib && doins ${GLIB_S}/${PN}-glib-1.0.pc + doins ${PN}-1.0.pc || die + if use glib ; then + doins ${GLIB_S}/${PN}-glib-1.0.pc || die + fi } |