mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
net-analyzer/ipv6toolkit: style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user