summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-04-25 12:17:28 -0700
committerZac Medico <zmedico@gentoo.org>2017-04-25 12:34:48 -0700
commit5787faf160021d13a280d9495ba8f7464bb61000 (patch)
treee335f6ec207393b56b4de0b372cf9059f5749852 /sys-apps/nvme-cli
parentmail-filter/rspamd: version bump to 1.5.6 (diff)
downloadgentoo-5787faf160021d13a280d9495ba8f7464bb61000.tar.gz
gentoo-5787faf160021d13a280d9495ba8f7464bb61000.tar.bz2
gentoo-5787faf160021d13a280d9495ba8f7464bb61000.zip
sys-apps/nvme-cli: version bump to 1.2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r--sys-apps/nvme-cli/Manifest1
-rw-r--r--sys-apps/nvme-cli/nvme-cli-1.2.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest
index 56e1fb0b1cad..69b0527d7f92 100644
--- a/sys-apps/nvme-cli/Manifest
+++ b/sys-apps/nvme-cli/Manifest
@@ -1,3 +1,4 @@
DIST nvme-cli-0.9.tar.gz 167565 SHA256 6b47087cba2ea3f0d53ed9316dc7a13d9a2ad618abaeeda23d7f520035a62b3c SHA512 ea9481b77aac14db60e75fb885360c91e548c61d2beacd3c0abf53acc080a9a0418c742f483b906a458109e1c4f226e7213ebba27e5bbdaee3a54222f03be71e WHIRLPOOL 8909194139634495f31ee286509f3da64ac4debe468731983339c4599111f1366a8846426918903c923e5020f4eb6af72569bef31e2024e9e8fb2c8daa85001c
DIST nvme-cli-1.0.tar.gz 191617 SHA256 1391bac6b8e1acf4f91c0b8b60d1055b142e7d3d041ea9799fc157517897439c SHA512 4aa7c33a966c25da36aaf17fdb0994fa3e6d3d20d59d444903d8269933565ed0b51941b27143a1533b8dfa307d21240eefa620ed041fcf38342d9d14298d5ad8 WHIRLPOOL 23289e4b5096ff69e06a7757b4e121e7490a016d636aaecc5fd671af90f9f0863c83637341d868d774f175b33e368efa5ca427d549ed10e04f6eab35ae797ac5
DIST nvme-cli-1.1.tar.gz 207679 SHA256 22883719cbab86d52e8d4755e86ebd70476416e87442385a79b31c981bd60de1 SHA512 339da4385c5e8659a8f3c2e11afadf437d9cdf02c294674e5cc569cd817174c8ccbd4fc8858ce6f5b8f63ccba68790b2140fc87fdf33b7d394b67999ac4afad0 WHIRLPOOL ae1225f7fad83cf2a8a00365cefdcccb251ad4779dd1194accfa4b0e38c4d2460723e4f7843a7cfe04fd2978f9ec507d14cdff8448f3860349eab578fb5d4b82
+DIST nvme-cli-1.2.tar.gz 228964 SHA256 f7ecd8138caba3a6d3a95d871a1ffcef64d77a015d3611e5cf962787bc354221 SHA512 42e31f9c7e5a4e3d5c500844e7a1f599bf52b3d4ea8312b518232ea94940487aa6f191b6711266b6595c8b3bca61f2f269168ca61201fe12e6d47c3a53629b00 WHIRLPOOL aebdefe1406b5b0139d822bc2b597520745cd3b2b779c98186928640e708873db00ef1a5e3a5d4b6820aaf30a968948050c8271094e4ddd872595a6dc9f92d79
diff --git a/sys-apps/nvme-cli/nvme-cli-1.2.ebuild b/sys-apps/nvme-cli/nvme-cli-1.2.ebuild
new file mode 100644
index 000000000000..d99e37d94066
--- /dev/null
+++ b/sys-apps/nvme-cli/nvme-cli-1.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+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 ~x86"
+IUSE="udev"
+
+RDEPEND="sys-libs/libcap:=
+ udev? ( virtual/libudev:= )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ tc-export CC
+ export PREFIX="${EPREFIX}/usr"
+ MAKEOPTS+=" LIBUDEV=$(usex udev 0 1)"
+}