diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-11-02 00:38:20 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-11-02 00:41:08 +0100 |
commit | d161cc3a0b4584625574e6fc275193a97ce2fc4a (patch) | |
tree | 5c5270b966eeae07a5696e7ac054aaa74b82a86f /sys-block | |
parent | app-text/vgrep: bump to v2.5.0 (diff) | |
download | gentoo-d161cc3a0b4584625574e6fc275193a97ce2fc4a.tar.gz gentoo-d161cc3a0b4584625574e6fc275193a97ce2fc4a.tar.bz2 gentoo-d161cc3a0b4584625574e6fc275193a97ce2fc4a.zip |
sys-block/f3: bump to v8.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/f3/Manifest | 1 | ||||
-rw-r--r-- | sys-block/f3/f3-8.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-block/f3/Manifest b/sys-block/f3/Manifest index 456beb10b9b9..638b4b478da2 100644 --- a/sys-block/f3/Manifest +++ b/sys-block/f3/Manifest @@ -1 +1,2 @@ DIST f3-7.2.tar.gz 68471 BLAKE2B fa2e98ee0bdbad117c44bcc866d8ee5ef1572469d0b3cc48734de0fdb47653946774cc85429157f00d2a977662f593885074822bf1e069aa84ceafafa64726bf SHA512 4e41fca8b02dbd6bfaae01237a47573916aefe47f5aafc864618d708568e32ec122390c03af24d89caaf03de692fa374e87747b07a8546eaf8cafd57887a61ac +DIST f3-8.0.tar.gz 71493 BLAKE2B e5c580971b001be0041b7cda2815d3e075b9590dde20f3afc722dc0126b10dfd13f85e4d2c7994210b4bc4746fed2ef400582293cbdf9d3271ca62ba379b4df0 SHA512 4c929eb3ad56ffefff7ae3266148e2000e14f01553c1960ddbe77a164df18dda6f32980140b7568e32a3165f9362e4f43c990a946a62b15b06720d6f8b87f924 diff --git a/sys-block/f3/f3-8.0.ebuild b/sys-block/f3/f3-8.0.ebuild new file mode 100644 index 000000000000..353b4009e3cc --- /dev/null +++ b/sys-block/f3/f3-8.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Utilities to detect broken or counterfeit flash storage" +HOMEPAGE="http://oss.digirati.com.br/f3/ https://github.com/AltraMayor/f3" + +PATCHES=( +) + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/AltraMayor/${PN}.git" + + PATCHES=() + + inherit git-r3 +else + SRC_URI="https://github.com/AltraMayor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +IUSE="extra" + +DEPEND="extra? ( + sys-block/parted + virtual/udev + )" + +RDEPEND="" + +DOCS=( changelog README.rst ) + +src_prepare() { + default + + sed -i \ + -e 's:-ggdb::' \ + -e 's:^PREFIX =:PREFIX ?=:' \ + Makefile || die + + tc-export CC +} + +src_compile() { + default + + if use extra; then + emake V=1 extra + fi +} + +src_install() { + emake PREFIX="${ED}/usr" install + + if use extra; then + emake PREFIX="${ED}/usr" install-extra + fi + + einstalldocs +} |