diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sys-block/f3 | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-block/f3')
-rw-r--r-- | sys-block/f3/Manifest | 2 | ||||
-rw-r--r-- | sys-block/f3/f3-8.0.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-block/f3/Manifest b/sys-block/f3/Manifest index 8fceb834afc1..ff57e2df2270 100644 --- a/sys-block/f3/Manifest +++ b/sys-block/f3/Manifest @@ -1,3 +1,5 @@ DIST f3-7.2.tar.gz 68471 BLAKE2B fa2e98ee0bdbad117c44bcc866d8ee5ef1572469d0b3cc48734de0fdb47653946774cc85429157f00d2a977662f593885074822bf1e069aa84ceafafa64726bf SHA512 4e41fca8b02dbd6bfaae01237a47573916aefe47f5aafc864618d708568e32ec122390c03af24d89caaf03de692fa374e87747b07a8546eaf8cafd57887a61ac +DIST f3-8.0.tar.gz 71493 BLAKE2B e5c580971b001be0041b7cda2815d3e075b9590dde20f3afc722dc0126b10dfd13f85e4d2c7994210b4bc4746fed2ef400582293cbdf9d3271ca62ba379b4df0 SHA512 4c929eb3ad56ffefff7ae3266148e2000e14f01553c1960ddbe77a164df18dda6f32980140b7568e32a3165f9362e4f43c990a946a62b15b06720d6f8b87f924 EBUILD f3-7.2.ebuild 1024 BLAKE2B 9a667aeba7406e8c7052e27786c7227cb891e6b8ca50d58eecf889532d1a51e043effc14e92e52a8ae956687c8c76f878fc4c5b18e78290c394f1edbdef33529 SHA512 ce0cb757390b388699f342015da761a51686bcf135dd17abf4f16560daf04d7bf4349fcb307248afa9cd6d7fc4bf2be17d4478a5d437c331b397df6ade2f58af +EBUILD f3-8.0.ebuild 1026 BLAKE2B 75d21bae985526a6e49992c46fb5c6653f8ea557c01d476cb0776841e74d8c8b9d8aac4d9882b2b60ef970ec0f383ee4b3ca91bf8478b46d97f490b46a906856 SHA512 c591a0ead73fd60edb53bc0bf4b623ab05f701e3d4cf162d7b5ac14452ac4129478f14a4a1e01f5ef510bd31410b4706de484cc9eff6597dcb5a8235dcdf0ecc MISC metadata.xml 959 BLAKE2B 216b03b57f363f727f19317c6ac7a9dcd5c383f23939803e0e04a5061628c0669083084e0bfd2a3bd8234810e37cf851babc8b63355bd9e4082a35126844c4df SHA512 a3c52956ad1241ea8d834cfe4d45f36fb80e4c3d717f18e0f15e126b950a2cf6fdd036e8612b9feee8812d9c77a49ce9e209a2e54fd8d0f3655696814b4c9b40 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 +} |