You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild

36 lines
767 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools epatch multilib
DESCRIPTION="A swiss knife tool for ARP"
HOMEPAGE="http://sid.rstack.org/arp-sk/"
SRC_URI="http://sid.rstack.org/arp-sk/files/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~riscv x86"
DEPEND=">=net-libs/libnet-1.1"
RDEPEND="${DEPEND}"
DOCS=( ARP AUTHORS CONTRIB ChangeLog README TODO )
src_prepare() {
epatch "${FILESDIR}"/${P}-libnet1_2.patch
sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
rm missing || die
epatch_user
eautoreconf
}
src_install() {
default
# We don't need libcompat as it has a potential to clash with other packages.
rm -fr "${D}"/usr/$(get_libdir)
}