diff options
Diffstat (limited to 'net-libs/libpcapnav/libpcapnav-0.8.ebuild')
-rw-r--r-- | net-libs/libpcapnav/libpcapnav-0.8.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/libpcapnav/libpcapnav-0.8.ebuild b/net-libs/libpcapnav/libpcapnav-0.8.ebuild new file mode 100644 index 000000000000..b87808f6f8fa --- /dev/null +++ b/net-libs/libpcapnav/libpcapnav-0.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Libpcap wrapper library to navigate to arbitrary packets in a tcpdump trace file" +HOMEPAGE="http://netdude.sourceforge.net/" +SRC_URI="mirror://sourceforge/netdude/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="doc static-libs" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +DOCS=( AUTHORS ChangeLog README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-includes.patch +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + emake SUBDIRS="src docs" +} + +src_install() { + default + rm -fr "${D}"/usr/share/gtk-doc + use doc && dohtml -r docs/*.css docs/html/*.html docs/images + prune_libtool_files +} |