diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-12-15 19:06:49 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-12-15 19:06:49 -0500 |
commit | b070f6e6954a2edcb0096584c185d9e95d1fc17b (patch) | |
tree | a6c8461b01890c6978339264b6a1f5fbf3935f3a /sys-apps/nvme-cli | |
parent | sys-apps/nvme-cli: add USE=udev to control automagic dep (diff) | |
download | gentoo-b070f6e6954a2edcb0096584c185d9e95d1fc17b.tar.gz gentoo-b070f6e6954a2edcb0096584c185d9e95d1fc17b.tar.bz2 gentoo-b070f6e6954a2edcb0096584c185d9e95d1fc17b.zip |
sys-apps/nvme-cli: version bump to 1.0
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r-- | sys-apps/nvme-cli/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-1.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest index d6e1d81e491c..e65ccc5f60e0 100644 --- a/sys-apps/nvme-cli/Manifest +++ b/sys-apps/nvme-cli/Manifest @@ -1,3 +1,4 @@ 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 +DIST nvme-cli-1.0.tar.gz 191617 SHA256 1391bac6b8e1acf4f91c0b8b60d1055b142e7d3d041ea9799fc157517897439c SHA512 4aa7c33a966c25da36aaf17fdb0994fa3e6d3d20d59d444903d8269933565ed0b51941b27143a1533b8dfa307d21240eefa620ed041fcf38342d9d14298d5ad8 WHIRLPOOL 23289e4b5096ff69e06a7757b4e121e7490a016d636aaecc5fd671af90f9f0863c83637341d868d774f175b33e368efa5ca427d549ed10e04f6eab35ae797ac5 diff --git a/sys-apps/nvme-cli/nvme-cli-1.0.ebuild b/sys-apps/nvme-cli/nvme-cli-1.0.ebuild new file mode 100644 index 000000000000..b0abbe683d93 --- /dev/null +++ b/sys-apps/nvme-cli/nvme-cli-1.0.ebuild @@ -0,0 +1,37 @@ +# 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="udev" + +RDEPEND="sys-libs/libcap + udev? ( virtual/libudev:= )" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i -E \ + -e '/^CFLAGS/s: (-O2|-g|-Wall|-Werror)\>: :g' \ + Makefile || die + sed -i \ + -e '/^PREFIX/s|:=|?=|' \ + Documentation/Makefile || die + + default +} + +src_configure() { + tc-export CC + export PREFIX="${EPREFIX}/usr" + MAKEOPTS+=" LIBUDEV=$(usex udev 0 1)" +} |