mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Closes: https://bugs.gentoo.org/713204 Closes: https://bugs.gentoo.org/801643 Closes: https://bugs.gentoo.org/883601 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
582 B
Bash
30 lines
582 B
Bash
# 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
|
|
}
|