1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="A utility to poison ARP caches"
9 HOMEPAGE="http://arpoison.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14 KEYWORDS="amd64 ~arm ppc x86"
16 RDEPEND="net-libs/libnet:1.1"
22 # respect CFLAGS, LDFLAGS and compiler, bug #337896
23 # fix for crosscompilation, bug #375655
25 -e 's|gcc \(-Wall\)|$(CC) \1 $(CFLAGS) $(LDFLAGS)|' \
26 -e "s|libnet-config|${ROOT}usr/bin/libnet-config|g" \
31 emake CC="$(tc-getCC)"