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.
43 lines
861 B
43 lines
861 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit optfeature toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="Stress test for a computer system with various selectable ways"
|
||
|
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/"
|
||
|
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||
|
|
||
|
DEPEND="
|
||
|
dev-libs/libaio
|
||
|
dev-libs/libbsd
|
||
|
dev-libs/libgcrypt:0=
|
||
|
sys-apps/attr
|
||
|
sys-apps/keyutils:=
|
||
|
sys-libs/libcap
|
||
|
sys-libs/zlib
|
||
3 years ago
|
virtual/libcrypt:=
|
||
3 years ago
|
"
|
||
|
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
|
||
|
|
||
|
src_compile() {
|
||
|
export MAN_COMPRESS=0
|
||
|
export VERBOSE=1
|
||
|
tc-export CC
|
||
|
|
||
|
default
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
optfeature "AppArmor support" sys-libs/libapparmor
|
||
|
optfeature "SCTP support" net-misc/lksctp-tools
|
||
|
}
|