diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-01-05 14:22:32 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-05 14:23:42 +0100 |
commit | d413ea431c46f02669c2f51aafb046dfb0d719ed (patch) | |
tree | 73ec00e1df88ec9c081023a8de0d883ceb2fbf7a /app-benchmarks | |
parent | xfce-base/xfce4-meta: Keyword 4.18-r1 riscv, #921390 (diff) | |
download | gentoo-d413ea431c46f02669c2f51aafb046dfb0d719ed.tar.gz gentoo-d413ea431c46f02669c2f51aafb046dfb0d719ed.tar.bz2 gentoo-d413ea431c46f02669c2f51aafb046dfb0d719ed.zip |
app-benchmarks/stress-ng: add 0.17.04
Bug: https://bugs.gentoo.org/917312
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.17.04.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index 4d97b615f34e..e45d82f4c5be 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.17.03.tar.gz 6187795 BLAKE2B d5c08a9d46b65c254f60e6192e3de305be7fb74769cff1714553006645fbccb7d94238c48c5612fe20f1b809962e8093c4d5bf96bc39720f162b0e17d7111bb3 SHA512 8d4bcab77682e448f524c8e2f5bed35a4a3e946ac4b3ff2df451178fc520db13c84bfb112ad09c96db4467b41c06d9a33ded99efe90f17009effccb2310653c0 +DIST stress-ng-0.17.04.tar.gz 6205049 BLAKE2B a5247c33d9c0266f31784469561088675f5e987fde441ce1d3bbb4e2fda150c2b277e4bc4cdf9ec2fee0276f1f63a30d3d19af96afa9685eb01940cf34fb715e SHA512 df143add8400f2bd6e7ade9f05ca4616f9d713e38676f179da123fb1865789a62ed878e6fb536dc3975bff1151020424053348c43b8f9b6818fbe95f517fffcd diff --git a/app-benchmarks/stress-ng/stress-ng-0.17.04.ebuild b/app-benchmarks/stress-ng/stress-ng-0.17.04.ebuild new file mode 100644 index 000000000000..5b514143db21 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.17.04.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 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 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="apparmor jpeg 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 + ) + jpeg? ( media-libs/libjpeg-turbo:= ) + 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_JPEG="$(usex jpeg 1 0)" + HAVE_LIB_SCTP="$(usex sctp 1 0)" + VERBOSE="1" + ) + + emake "${myemakeopts[@]}" +} |