diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-07 01:09:40 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-07 01:14:29 -0700 |
commit | 1d343b9f4e05f33f3d3ba91a9e20750d32c8bbeb (patch) | |
tree | 3327c7788dac6a4cd49f55d1977bd6b9cdbe149b | |
parent | dev-ruby/rake: add 13.0.4 (diff) | |
download | gentoo-1d343b9f4e05f33f3d3ba91a9e20750d32c8bbeb.tar.gz gentoo-1d343b9f4e05f33f3d3ba91a9e20750d32c8bbeb.tar.bz2 gentoo-1d343b9f4e05f33f3d3ba91a9e20750d32c8bbeb.zip |
sys-apps/nvme-cli: add 1.14
Closes: https://bugs.gentoo.org/785133
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r-- | sys-apps/nvme-cli/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-1.14.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest index 4544efcbd5df..eaba3a9c8115 100644 --- a/sys-apps/nvme-cli/Manifest +++ b/sys-apps/nvme-cli/Manifest @@ -1,3 +1,4 @@ DIST nvme-cli-1.10.1.tar.gz 463826 BLAKE2B d92702e3cb7c761dbf12dbd56dee44248d49ebdb5b57636ff00a74728e14b44caa6f1500ed90e7fa63d4b1f2de28624a70f37e27a060dbc138f303e46e224dcf SHA512 92bef073205b357f4b14ba929b7f261d0c18b343e5e244cefc24521dfc581dec4b941a13dc00f9a3b4d938ccd026c847d58ccfd75f813cc3c4f484f8316269dc DIST nvme-cli-1.11.1.tar.gz 478664 BLAKE2B 74c1ffae32da7605afa02fbbf73878477e04669331c8971d4cc596088c42619abac65a1cfe54b62bd62f253328309f8bbd61c232a200816aa1090ebdf3f7ea76 SHA512 467e327f45500d80cebd6e5e55d4e6d3731a754423e71180efa9d4f5e98f0774f7a31393fefc2794250b487446005dad8e7002a27aff1f2b285983d55ec0d0b3 +DIST nvme-cli-1.14.tar.gz 579561 BLAKE2B e27dade228ee47d88ef5cbab4d9d6163e75af44fb3345ed2ae566e875b973355255a5aba1b1846e53006f9676922cf7901a5e6e4867fcf04c591bf372a119bca SHA512 b5e18708233fd37069d84ee34232d737ed6d6909b0ec523d82cc2c4940172f7ce769b9bbec0d8615ebee544a5174cb4d752ad6d96ea05cfaa1177efc760f0e9e DIST nvme-cli-1.9.tar.gz 440675 BLAKE2B 19d9f4982e6bf4d37bbced02aadd0f58e496901c1463c96596b289e23c4e5849bfed9a4129447588c9c8104d5b49fd0bf97ee6495907bf022487407f02d7c4ae SHA512 3565b33bc39bde4480bbde5d46d75ea6907c0921884e8f39029b746f8383d3630942e405c61bcc3654bac5646bc86479b4b790e1b823ec83650649621bab6dac diff --git a/sys-apps/nvme-cli/nvme-cli-1.14.ebuild b/sys-apps/nvme-cli/nvme-cli-1.14.ebuild new file mode 100644 index 000000000000..da5f95ef1298 --- /dev/null +++ b/sys-apps/nvme-cli/nvme-cli-1.14.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs udev + +DESCRIPTION="NVM-Express user space tooling for Linux" +HOMEPAGE="https://github.com/linux-nvme/nvme-cli" +SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RESTRICT="test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="+uuid" + +RDEPEND="uuid? ( sys-apps/util-linux:= )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -e 's|^LIBUUID =|LIBUUID ?=|' \ + -e '/DESTDIROLD/d' \ + -i Makefile || die +} + +src_configure() { + tc-export CC + export PREFIX="${EPREFIX}/usr" + local unitdir="$(systemd_get_systemunitdir)" + export SYSTEMDDIR="${unitdir%/system}" + export UDEVDIR="${EPREFIX}$(get_udevdir)" + MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)" +} |