net-analyzer/ipv6toolkit: style tweaks

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-10-05 06:55:20 +01:00
parent 2c7968d1a2
commit 5f29f78c0e

View File

@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Set of IPv6 security/trouble-shooting tools to send arbitrary IPv6-based packets"
@@ -20,19 +21,18 @@ RDEPEND="
sys-apps/hwdata
"
src_prepare() {
default
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" PREFIX="${EPREFIX}/usr"
sed -i -e "s:ipv6toolkit/oui.txt:hwdata/oui.txt:" data/ipv6toolkit.conf manuals/ipv6toolkit.conf.5 || die
sed -i -e "s:ipv6toolkit/oui.txt:hwdata/oui.txt:" \
data/ipv6toolkit.conf \
manuals/ipv6toolkit.conf.5 || die
}
src_install() {
dodir /etc
emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
#remove the included oui file
# Remove the included oui file
rm "${ED}"/usr/share/ipv6toolkit/oui.txt || die
dodoc CHANGES.TXT README.TXT
}