# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: j0inty edited by KardasA$ EAPI="2" inherit subversion DESCRIPTION="Gfire is an open source plugin for the Pidgin IM client which allows you to connect the Xfire network." HOMEPAGE="http://gfireproject.org/" SRC_URI="" ESVN_REPO_URI="http://my-svn.assembla.com/svn/gfire/trunk/" ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/" LICENSE="GPLv3" SLOT="0" KEYWORDS="" IUSE="debug dbus libnotify srvdetection" RDEPEND="net-im/pidgin srvdetection? ( >=net-analyzer/tcpdump-4.1.0-r1[suid] )" DEPEND="dev-util/pkgconfig ${RDEPEND}" src_configure() { ./autogen.sh econf $(use_enable debug) $(use_enable libnotify) $(use_enable dbus dbus-status) || die "econf failed" } src_compile(){ emake || die "emake failed" } src_install(){ emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog README } pkg_postinst() { if use srvdetection ; then ewarn "You installed ${PN} with server detection support," ewarn "this requires tcpdump installation with suid support," ewarn "this is potential security risk." ewarn "You have been warned" elog "To let users use server detection add them to tcpdump group" fi }