jer 14/07/18 15:19:46 Modified: libpcapnav-0.8.ebuild ChangeLog Log: EAPI bump. Do not build test programs and set RESTRICT=test since they fail anyway. Fix missing includes. Add USE=static-libs. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.4 net-libs/libpcapnav/libpcapnav-0.8.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild?r1=1.3&r2=1.4 Index: libpcapnav-0.8.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- libpcapnav-0.8.ebuild 12 Mar 2014 03:53:59 -0000 1.3 +++ libpcapnav-0.8.ebuild 18 Jul 2014 15:19:46 -0000 1.4 @@ -1,6 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild,v 1.3 2014/03/12 03:53:59 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/libpcapnav-0.8.ebuild,v 1.4 2014/07/18 15:19:46 jer Exp $ + +EAPI=5 +inherit eutils DESCRIPTION="Libpcap wrapper library to navigate to arbitrary packets in a tcpdump trace file" HOMEPAGE="http://netdude.sourceforge.net/" @@ -9,13 +12,30 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~sparc ~x86" -IUSE="doc" +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() { - make DESTDIR="${D}" install || die "make install failed" + default rm -fr "${D}"/usr/share/gtk-doc - dodoc AUTHORS ChangeLog README use doc && dohtml -r docs/*.css docs/html/*.html docs/images + prune_libtool_files } 1.10 net-libs/libpcapnav/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/ChangeLog?rev=1.10&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/ChangeLog?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libpcapnav/ChangeLog?r1=1.9&r2=1.10 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/ChangeLog,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ChangeLog 12 Mar 2014 03:53:59 -0000 1.9 +++ ChangeLog 18 Jul 2014 15:19:46 -0000 1.10 @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libpcapnav # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/ChangeLog,v 1.9 2014/03/12 03:53:59 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcapnav/ChangeLog,v 1.10 2014/07/18 15:19:46 jer Exp $ + + 18 Jul 2014; Jeroen Roovers <[email protected]> libpcapnav-0.8.ebuild, + +files/libpcapnav-0.8-includes.patch: + EAPI bump. Do not build test programs and set RESTRICT=test since they fail + anyway. Fix missing includes. Add USE=static-libs. 12 Mar 2014; Patrick Lauer <[email protected]> libpcapnav-0.7.ebuild, libpcapnav-0.8.ebuild:
