pentoo-overlay/net-analyzer/bonesi/bonesi-9999.ebuild
2025-01-06 10:56:50 +08:00

31 lines
601 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="BoNeSi - the DDoS botnet simulator"
HOMEPAGE="https://github.com/Markus-Go/bonesi"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Markus-Go/bonesi"
else
SRC_URI="https://github.com/Markus-Go/bonesi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="
net-libs/libpcap
net-libs/libnet:*"
DEPEND="${RDEPEND}"
src_prepare(){
eautoreconf
eapply_user
}