summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-12-23 14:00:42 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-12-25 00:16:31 +0100
commita67a48da2f8ed1a011d4109f77b9ace9d8487967 (patch)
treef041ab1571666928181e40410fdd2c738f60116d /sys-block
parentdev-util/usb-robot: EAPI8 bump (diff)
downloadgentoo-a67a48da2f8ed1a011d4109f77b9ace9d8487967.tar.gz
gentoo-a67a48da2f8ed1a011d4109f77b9ace9d8487967.tar.bz2
gentoo-a67a48da2f8ed1a011d4109f77b9ace9d8487967.zip
sys-block/flashbench: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/34443 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/flashbench/flashbench-20120606.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys-block/flashbench/flashbench-20120606.ebuild b/sys-block/flashbench/flashbench-20120606.ebuild
index c7f3200b611c..56deca15c711 100644
--- a/sys-block/flashbench/flashbench-20120606.ebuild
+++ b/sys-block/flashbench/flashbench-20120606.ebuild
@@ -1,17 +1,25 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit toolchain-funcs
DESCRIPTION="Tool for benchmarking and classifying flash memory drives"
-HOMEPAGE="http://git.linaro.org/people/arnd.bergmann/flashbench.git"
+HOMEPAGE="https://git.linaro.org/people/arnd.bergmann/flashbench.git"
SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
+src_compile(){
+ tc-export CC
+ default
+}
+
src_install() {
dobin "${PN}"
newbin erase "${PN}-erase" # erase is too ambiguous.