forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-benchmarks/stress-ng: bump to version 0.11.20
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST stress-ng-0.11.19.tar.xz 475692 BLAKE2B 711e9532655e8b76c44d06a86c773e2a2d5c19cf08dec693f7aacf100060ed492fc7ace8244897d4b342a3f1cae8e3f81314cb5b792253957c1622621bd1f6c0 SHA512 eefb331699faccaaa98775e14e4f33f5cc99b86ec8feb8f1c34b6cb7d20f061c576f8fcd683e51740fa662fb54d987bed36b9d87ad13a1b39b4fe66e60177ab1 | ||
DIST stress-ng-0.11.20.tar.xz 480540 BLAKE2B 97ef2726ae5882c405ac752b56fa14e1a08a428b2ff2685b2d513438394b86184aa412ce97ea428a6ab4ec42c29c6bd4f5c28da9331c27c477d29a8fbe070a74 SHA512 08dda9ec44d9bde873b0186c4dbf3b15090c261316f0ec0ceed5378d31780b85038f898957c892393fef593ad5c913d044c1db8e2b60c68d88f5678d0209b6ac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2020 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" ) | ||
|
||
PATCHES=( "${FILESDIR}/${PN}-0.11.17-makefile.patch" ) | ||
|
||
src_compile() { | ||
tc-export CC | ||
|
||
default | ||
} | ||
|
||
pkg_postinst() { | ||
optfeature "AppArmor support" sys-libs/libapparmor | ||
optfeature "SCTP support" net-misc/lksctp-tools | ||
} |