diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-03-07 22:25:51 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-03-07 22:27:06 +0100 |
commit | 6b542f2897f011cc958e31ed98652ea51d1512a6 (patch) | |
tree | d66b356b41f7e8374802e3539d9a59f703c19094 /app-benchmarks | |
parent | www-apps/phpsysinfo: drop 3.3.4 (diff) | |
download | gentoo-6b542f2897f011cc958e31ed98652ea51d1512a6.tar.gz gentoo-6b542f2897f011cc958e31ed98652ea51d1512a6.tar.bz2 gentoo-6b542f2897f011cc958e31ed98652ea51d1512a6.zip |
app-benchmarks/stress-ng: add 0.13.12
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.12.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index dacb08fb2292..3fb7bb9f04b0 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.13.11.tar.gz 1069071 BLAKE2B a622e9b3e1015d78f3ae3cc314cabce9ddc9a0ad50ae4de6b15c74918f202e75ad5fdb73d786b01a2c2765114ce1fe9f00702e80419311eb627eddccebf161db SHA512 18e21f2e8af24f5d50b2e8c4119544d1469e82f7e1d96610ba509f12f84b6b4ef11353e7a31b5fdc848ec4cdfdd24ad22818492cbe917122e2fbad4727466cc2 +DIST stress-ng-0.13.12.tar.gz 1091644 BLAKE2B f693535f7bf2d00dc741574b77c52f216bd8db6bd3766c41c1d117aa8847b3ae3afa674b67749c93239c72aae19b36f1b6bdb4c526dddfb5176ae0597814ad80 SHA512 735e68da8b63b550f5764c565567c5212302eec116591cf8e4a5c203c571fcaf68cf24fefeede7d4364683a021e5232ef9a99796d465eb0aa4094800eca19474 diff --git a/app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild b/app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild new file mode 100644 index 000000000000..c997ff6e3d0c --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.13.12.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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[@]}" +} |