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/arpon/arpon-2.7.2-r1.ebuild

38 lines
727 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="ArpON (Arp handler inspectiON) is a portable Arp handler"
MY_PN="ArpON"
MY_P="${MY_PN}-${PV}"
HOMEPAGE="http://arpon.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-libs/libdnet
net-libs/libnet:1.1
net-libs/libpcap
"
RDEPEND="
${DEPEND}
"
PATCHES=(
"${FILESDIR}"/${PN}-2.7.2-CFLAGS.patch
"${FILESDIR}"/${PN}-2.7.2-etc.patch
)
DOCS=( AUTHOR CHANGELOG )
S="${WORKDIR}"/${MY_P}
src_install() {
cmake_src_install
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}