diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-03-25 22:58:45 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-25 22:58:45 +0100 |
commit | 2a218abb6cfd61ca6f6e207104acce93fac33416 (patch) | |
tree | d1ba831f9c2b46c294e4af64d7d41b68c284d9ef | |
parent | media-libs/tg_owt: fix SSE2 build even better (diff) | |
download | gentoo-2a218abb6cfd61ca6f6e207104acce93fac33416.tar.gz gentoo-2a218abb6cfd61ca6f6e207104acce93fac33416.tar.bz2 gentoo-2a218abb6cfd61ca6f6e207104acce93fac33416.zip |
app-benchmarks/stress-ng: bump to version 0.12.06
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r-- | app-benchmarks/stress-ng/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/stress-ng/stress-ng-0.12.06.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-benchmarks/stress-ng/Manifest b/app-benchmarks/stress-ng/Manifest index 0113793b19e1..3c08401932f9 100644 --- a/app-benchmarks/stress-ng/Manifest +++ b/app-benchmarks/stress-ng/Manifest @@ -1 +1,2 @@ DIST stress-ng-0.12.05.tar.xz 529660 BLAKE2B 3ba32dceddeae0910a20fe2a6dda783845059a8d022c372ffef9fc2908ef8b724eb9ce9fef111102f4a07c6f3f05e80560d74285c15a6f82f665a716163b4f1e SHA512 c7be3bfbded5e0d953a02d59fdd983af46e9588b21c4858b26a9432b72f4c6bd5710f5294372746adcb52aeb8d0e9800c99c3256d269b25458af31591f63a758 +DIST stress-ng-0.12.06.tar.xz 530940 BLAKE2B dcf1c97df38cdfd15c88fa71497477d83a0ab8e18ca506717f360b8a1f284be00163f6de956d686cdd6d479bd6fb2075ec2dc4dea55b4af4c623caf4a412e7a0 SHA512 bdfbee6c1d339dc4d288aa28b08bdaf158f49bb023b527c653e7956d80607690fe4aab763acc8c6659e822f2e225ee2be39ff60effa972b05c4c5e0fe067d6fc diff --git a/app-benchmarks/stress-ng/stress-ng-0.12.06.ebuild b/app-benchmarks/stress-ng/stress-ng-0.12.06.ebuild new file mode 100644 index 000000000000..073bfbc1f4a8 --- /dev/null +++ b/app-benchmarks/stress-ng/stress-ng-0.12.06.ebuild @@ -0,0 +1,48 @@ +# 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 +" + +RDEPEND="${DEPEND}" + +DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) + +src_prepare() { + default + + # Don't install compressed man page. + # Respect users CFLAGS. + sed -e 's/stress-ng.1.gz/stress-ng.1/' -e 's/-O2//' -i Makefile +} + +src_compile() { + export VERBOSE=1 + tc-export CC + + default +} + +pkg_postinst() { + optfeature "AppArmor support" sys-libs/libapparmor + optfeature "SCTP support" net-misc/lksctp-tools +} |