mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
31 lines
601 B
Bash
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
|
|
}
|