summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-07-08 18:28:52 -0700
committerZac Medico <zmedico@gentoo.org>2016-07-08 18:31:56 -0700
commit977efc7497b87d24b66c6e1a2b1f82d0fe70f3fd (patch)
treed849683ab8d15c45965fb76076ba47150cd44de0 /sys-apps/nvme-cli
parentmedia-libs/mesa: Version bump to 12.0.1. (diff)
downloadgentoo-977efc7497b87d24b66c6e1a2b1f82d0fe70f3fd.tar.gz
gentoo-977efc7497b87d24b66c6e1a2b1f82d0fe70f3fd.tar.bz2
gentoo-977efc7497b87d24b66c6e1a2b1f82d0fe70f3fd.zip
sys-apps/nvme-cli: version bump to 0.8
Package-Manager: portage-2.3.0
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.8.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest
index 5d0c8be4fc37..9b9096770ecc 100644
--- a/sys-apps/nvme-cli/Manifest
+++ b/sys-apps/nvme-cli/Manifest
@@ -1,2 +1,3 @@
+DIST nvme-cli-0.8.tar.gz 162167 SHA256 70f515de401a16f0e67f64854d65f6ddcc1628325ae93caa31db6913252e3786 SHA512 8279e459dd9b71b8f33e24cc6402a96c5a91ebeb81ec6e1d705318bff4b02a4cd0aee986c940118290c68b90dc1d795966708ab73f0ffd626d2e205ad460e1cc WHIRLPOOL 1cd14a90afb2f4c99c73fa7cb208c65be92ca20e0eac27dd90ff4bf5f6192181be6916defe007874fdf6407b7ccd6cd1209f82a9ad377b771203855648e3ca8b
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.8.ebuild b/sys-apps/nvme-cli/nvme-cli-0.8.ebuild
new file mode 100644
index 000000000000..4db21880ef59
--- /dev/null
+++ b/sys-apps/nvme-cli/nvme-cli-0.8.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
+}