# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils gnome2 DESCRIPTION="Provides a key/value store shared over a network" HOMEPAGE="http://live.gnome.org/libepc/" SRC_URI="http://ftp.gnome.org/pub/gnome/sources/${PN}/${PV%.*}/${P}.tar.bz2" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=net-dns/avahi-0.6.20 >=net-libs/libsoup-2.2 >=dev-libs/glib-2.12 >=net-libs/gnutls-1.4 >=sys-fs/e2fsprogs-1.40 >=x11-libs/gtk+-2.10" pkg_setup () { if ! built_with_use net-dns/avahi gtk ; then ewarn ewarn "The net-dns/avahi package mus be built with the \"gtk\" USE-flag" ewarn "enabled in order to install ${PN}. Please re-emerge" ewarn "net-dns/avahi with Gtk support and then try again installing" ewarn "this package" ewarn die "net-dns/avahi needs USE=\"gtk\"" fi } src_compile() { gnome2_src_configure emake -j1 || die "compile failure" }