blob: 2d112c6ecb44cda12061f2824eaf34d333744c20 (
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
28
29
30
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=CRAZYDJ
DIST_VERSION=1.0.12
DIST_WIKI="tests"
inherit perl-module
DESCRIPTION="Perl extension for creating ARP packets"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-perl/Net-Pcap"
BDEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/1.0.9-header.diff"
"${FILESDIR}/${PN}-1.0.9-perl-5.26.patch"
)
src_prepare() {
if [[ -z ${TEST_ARP_IF} ]]; then
perl_rm_files t/send_packet.t
fi
perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile();'
perl-module_src_prepare
}
|