summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-09-26 05:37:53 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-09-26 05:38:06 +0200
commit565b85fd89ede3af2d8ac57da38f0374297d6eb0 (patch)
tree781cd7ac877eb86626a3d5d90d272f5a175b7165 /sys-apps/nvme-cli
parentwww-client/chromium: dev channel bump (55.0.2868.3) (diff)
downloadgentoo-565b85fd89ede3af2d8ac57da38f0374297d6eb0.tar.gz
gentoo-565b85fd89ede3af2d8ac57da38f0374297d6eb0.tar.bz2
gentoo-565b85fd89ede3af2d8ac57da38f0374297d6eb0.zip
sys-apps/nvme-cli: version bump
Package-Manager: portage-2.3.1
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r--sys-apps/nvme-cli/Manifest1
-rw-r--r--sys-apps/nvme-cli/nvme-cli-0.9.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest
index 5838f3b5806f..d6e1d81e491c 100644
--- a/sys-apps/nvme-cli/Manifest
+++ b/sys-apps/nvme-cli/Manifest
@@ -1,2 +1,3 @@
DIST nvme-cli-0.6.tar.gz 124652 SHA256 6e28aa93e4b5756ea998377bbe2835a1911a8f2aa5e82330863dfe3ecfdfda6b SHA512 7cd5caccd6a7dfdaec5d160afbe966a338f8bf4825c989853995335d07a32e4f0db9d10c9a5ff0d06876b7e2e84c69568b130d37a0cd8eaa67b5e4dc4c195acf WHIRLPOOL 23425c69ba956da9dd6393ce4ae4d2bacd4ecbddb5e6277bd7b9411991e7b9c085dfb28d7ee6b3a0a4a2587456d0239ee98a55fa0c0f03428b2a8d52c741db5c
DIST nvme-cli-0.8.tar.gz 162167 SHA256 70f515de401a16f0e67f64854d65f6ddcc1628325ae93caa31db6913252e3786 SHA512 8279e459dd9b71b8f33e24cc6402a96c5a91ebeb81ec6e1d705318bff4b02a4cd0aee986c940118290c68b90dc1d795966708ab73f0ffd626d2e205ad460e1cc WHIRLPOOL 1cd14a90afb2f4c99c73fa7cb208c65be92ca20e0eac27dd90ff4bf5f6192181be6916defe007874fdf6407b7ccd6cd1209f82a9ad377b771203855648e3ca8b
+DIST nvme-cli-0.9.tar.gz 167565 SHA256 6b47087cba2ea3f0d53ed9316dc7a13d9a2ad618abaeeda23d7f520035a62b3c SHA512 ea9481b77aac14db60e75fb885360c91e548c61d2beacd3c0abf53acc080a9a0418c742f483b906a458109e1c4f226e7213ebba27e5bbdaee3a54222f03be71e WHIRLPOOL 8909194139634495f31ee286509f3da64ac4debe468731983339c4599111f1366a8846426918903c923e5020f4eb6af72569bef31e2024e9e8fb2c8daa85001c
diff --git a/sys-apps/nvme-cli/nvme-cli-0.9.ebuild b/sys-apps/nvme-cli/nvme-cli-0.9.ebuild
new file mode 100644
index 000000000000..4db21880ef59
--- /dev/null
+++ b/sys-apps/nvme-cli/nvme-cli-0.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="sys-libs/libcap"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed 's|-m64 \(-std=gnu99\) -O2 -g \(-pthread -D_GNU_SOURCE -D_REENTRANT -Wall\) -Werror|\1 \2|' \
+ -i Makefile || die
+ sed 's|/usr/local|$(DESTDIR)/$(PREFIX)/share|' \
+ -i Documentation/Makefile || die
+
+ default
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}