diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-12-08 17:19:33 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-12-08 17:22:15 +0100 |
commit | 9ed12ae1c517a174e3ec0708f2f2f6fdcb3bb6d8 (patch) | |
tree | f230a0861a2d8ee0146ecd4a5f3e532ea167ae6c /app-benchmarks | |
parent | sys-fs/udev: depend on acct-group/sgx (diff) | |
download | gentoo-9ed12ae1c517a174e3ec0708f2f2f6fdcb3bb6d8.tar.gz gentoo-9ed12ae1c517a174e3ec0708f2f2f6fdcb3bb6d8.tar.bz2 gentoo-9ed12ae1c517a174e3ec0708f2f2f6fdcb3bb6d8.zip |
app-benchmarks/stress-ng: add 0.13.08
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/stress-ng/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/stress-ng-0.13.08.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index a9bb845be5d5..d53b646d7f82 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.13.07.tar.gz 1020232 BLAKE2B 54d2e01877420f0a9b03f1d2ffc3665b3d06def29f5d1370ca312a0c3a1453cebd5254e00aa0c0bbda1146785c26047d459e1e844bf3d47348f92529e93c029d SHA512 ec8f483c34c35ee9171f65e24614a3d4855d90cdfdc6c2d075ff86a2919e1c774ee5da0601e9e30d1c1f7fa7b146bf877de13e3deb88c892b703eb1b4c41e960 +DIST stress-ng-0.13.08.tar.gz 1035973 BLAKE2B e9571c8e8cea9341d69d576d9716bbb884b220bb3489fa08e5eae54812467ce5a5ca6f41f4af0547a059a10d78394794a73c3da810a6e64217626d9d669f9b7b SHA512 15882d455422bd631de67d012b3f9395e78968af3fcdc5aecff86779e1d20adafbdb189414007ae7639cd9936d1c3a1d392a97e86077ed12097edc63a99025c4 diff --git a/app-benchmarks/stress-ng/stress-ng-0.13.08.ebuild b/app-benchmarks/stress-ng/stress-ng-0.13.08.ebuild new file mode 100644 index 000000000000..9dc84c767ecd --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.13.08.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info toolchain-funcs + +DESCRIPTION="Stress test for a computer system with various selectable ways" +HOMEPAGE="https://github.com/ColinIanKing/stress-ng" +SRC_URI="https://github.com/ColinIanKing/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor sctp" + +DEPEND=" + dev-libs/libaio + dev-libs/libbsd + dev-libs/libgcrypt:0= + sys-apps/attr + sys-apps/keyutils:= + sys-libs/libcap + sys-libs/zlib + virtual/libcrypt:= + apparmor? ( + sys-apps/apparmor-utils + sys-libs/libapparmor + ) + sctp? ( net-misc/lksctp-tools ) +" + +RDEPEND="${DEPEND}" + +DOCS=( "README.md" "README.Android" "TODO" "syscalls.txt" ) + +pkg_pretend() { + if use apparmor; then + CONFIG_CHECK="SECURITY_APPARMOR" + check_extra_config + fi +} + +src_compile() { + tc-export CC + + export MAN_COMPRESS="0" + + local myemakeopts=( + HAVE_APPARMOR="$(usex apparmor 1 0)" + HAVE_LIB_SCTP="$(usex sctp 1 0)" + VERBOSE="1" + ) + + emake "${myemakeopts[@]}" +} |