summaryrefslogtreecommitdiff
path: root/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild')
-rw-r--r--net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild b/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild
deleted file mode 100644
index c9d02bab..00000000
--- a/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2013 Sabayon
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-IUSE="doc gtk"
-COMMON_DEPEND="=net-dns/avahi-base-${PVR}[dbus]
- >=dev-lang/mono-1.1.10
- gtk? (
- =net-dns/avahi-gtk-${PVR}
- >=dev-dotnet/gtk-sharp-2
- )"
-AVAHI_MODULE_DEPEND="${COMMON_DEPEND}
- doc? ( >=virtual/monodoc-1.1.8 )"
-AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}"
-
-WANT_AUTOMAKE=1.11
-AVAHI_PATCHES=(
- # Fix init scripts for >=openrc-0.9.0 (bug #383641)
- "${FILESDIR}/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
- # install-exec-local -> install-exec-hook
- "${FILESDIR}"/${P/-mono}-install-exec-hook.patch
- # Backport host-name-from-machine-id patch, bug #466134
- "${FILESDIR}"/${P/-mono}-host-name-from-machine-id.patch
-)
-inherit eutils avahi
-
-src_configure() {
- local myconf="--enable-mono --enable-dbus"
- myconf+=" $(use_enable doc monodoc)"
- avahi_src_configure "${myconf}"
-}
-
-src_compile() {
- for target in avahi-common avahi-client avahi-glib avahi-sharp; do
- cd "${S}"/${target} || die
- emake || die
- done
- cd "${S}" || die
- emake avahi-sharp.pc || die
- if use gtk; then
- cd "${S}"/avahi-ui-sharp || die
- emake || die
- cd "${S}" || die
- emake avahi-ui-sharp.pc || die
- fi
-}
-
-src_install() {
- cd "${S}"/avahi-sharp || die
- emake install DESTDIR="${ED}" || die
- if use gtk; then
- cd "${S}"/avahi-ui-sharp || die
- emake install DESTDIR="${ED}" || die
- fi
- cd "${S}" || die
- dodir /usr/$(get_libdir)/pkgconfig
- insinto /usr/$(get_libdir)/pkgconfig
- doins *.pc
-
- avahi_src_install-cleanup
-}