gentoo/net-analyzer/ipsumdump/ipsumdump-1.86-r1.ebuild
Sam James cbcd5712e4
net-analyzer/ipsumdump: use configure cache for subconfigure
Signed-off-by: Sam James <sam@gentoo.org>
2023-11-18 16:19:20 +00:00

40 lines
728 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Simple TCP/IP Dump summarizer/analyzer"
HOMEPAGE="https://read.seas.harvard.edu/~kohler/ipsumdump/"
SRC_URI="https://read.seas.harvard.edu/~kohler/ipsumdump/${P}.tar.gz"
LICENSE="the-Click-license"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ipv6 +nanotimestamp"
BDEPEND="
dev-lang/perl
sys-apps/texinfo
"
RDEPEND="
net-libs/libpcap
"
DEPEND="
${RDEPEND}
dev-libs/expat
virtual/os-headers
"
DOCS=( NEWS.md README.md )
PATCHES=(
"${FILESDIR}"/${PN}-1.86-SIOCGSTAMP.patch
)
src_configure() {
econf \
--cache-file="${S}"/config.cache \
$(use_enable ipv6 ip6) \
$(use_enable nanotimestamp)
}