# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/netdude/netdude-0.4.6.ebuild,v 1.2 2006/03/19 23:19:05 dsd Exp $ DESCRIPTION="Netdude is a front-end to the libnetdude packet manipulation library" HOMEPAGE="http://netdude.sourceforge.net/index.html" SRC_URI="mirror://sourceforge/netdude/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="doc" DEPEND="net-libs/libnetdude =x11-libs/gtk+-1* virtual/fam" RDEPEND="${DEPEND} ( || ( virtual/x11 ( >=x11-libs/libX11-1.0.0 >=x11-libs/libXext-1.0.0 ) ) )" src_compile() { econf $(use_enable doc gtk-doc) || die emake || die } src_install() { make DESTDIR="${D}" install || die use doc || rm -rf "${D}"/usr/share/gtk-doc }