summaryrefslogtreecommitdiff
blob: 73e66310e5a34f29d43092fc5b43bbd284fef24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=SAPER
DIST_VERSION=0.25
DIST_EXAMPLES=("examples/*")
inherit perl-module

DESCRIPTION="Raw IP packets manipulation Module"

SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc sparc x86"

RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"

PERL_RM_FILES=( "t/90-pod.t" "t/91-pod-coverage.t" "t/99-critic.t" )

PATCHES=(
	"${FILESDIR}/${PN}-0.25-no-network-tests.patch"
	"${FILESDIR}/${PN}-0.25-Declare-used-function.patch"
	"${FILESDIR}/${PN}-0.25-Silent-compiler-warnings.patch"
	"${FILESDIR}/${PN}-0.25-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch"
)