summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-04-15 10:03:07 -0700
committerZac Medico <zmedico@gentoo.org>2016-04-15 10:03:58 -0700
commitb53eebd68b10a8d6f2af21e680f2a0644e6464fe (patch)
tree4ddf7db5abb055ad728623f63c7c2975056135ca /sys-apps/nvme-cli
parentkde-frameworks/kauth: Fix dependencies (diff)
downloadgentoo-b53eebd68b10a8d6f2af21e680f2a0644e6464fe.tar.gz
gentoo-b53eebd68b10a8d6f2af21e680f2a0644e6464fe.tar.bz2
gentoo-b53eebd68b10a8d6f2af21e680f2a0644e6464fe.zip
sys-apps/nvme-cli: version bump to 0.6
Package-Manager: portage-2.2.28
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.6.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest
index 86de946fcb52..5d0c8be4fc37 100644
--- a/sys-apps/nvme-cli/Manifest
+++ b/sys-apps/nvme-cli/Manifest
@@ -1 +1,2 @@
DIST nvme-cli-0_pre20150821.tar.gz 106218 SHA256 3da0e1907203fff9da50e6a474a0c2081a05bd2688fa364c6fc90bf84125c5b6 SHA512 7a88c3f7e52adbba01c01e02064402f9bf27dc79c060d9510a8e9dbe7dbe5097aa2823470cf1264f416ff3484719ba2a01a30017dbaa6b66258aa6a9f1023325 WHIRLPOOL 94b18ff536fb2079218b984b60a4555cfb278a5a0fed1385940d90b8cf9fa10b21e99f886466318f77eb2c907ea2887de1ede0199cab2c1cdf92e252c1c9d8a5
+DIST v0.6.tar.gz 124652 SHA256 6e28aa93e4b5756ea998377bbe2835a1911a8f2aa5e82330863dfe3ecfdfda6b SHA512 7cd5caccd6a7dfdaec5d160afbe966a338f8bf4825c989853995335d07a32e4f0db9d10c9a5ff0d06876b7e2e84c69568b130d37a0cd8eaa67b5e4dc4c195acf WHIRLPOOL 23425c69ba956da9dd6393ce4ae4d2bacd4ecbddb5e6277bd7b9411991e7b9c085dfb28d7ee6b3a0a4a2587456d0239ee98a55fa0c0f03428b2a8d52c741db5c
diff --git a/sys-apps/nvme-cli/nvme-cli-0.6.ebuild b/sys-apps/nvme-cli/nvme-cli-0.6.ebuild
new file mode 100644
index 000000000000..ea0ac8934b50
--- /dev/null
+++ b/sys-apps/nvme-cli/nvme-cli-0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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"
+
+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_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}