From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE46313881F for ; Fri, 28 Aug 2015 03:10:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C61341427E; Fri, 28 Aug 2015 03:10:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C57B1427E for ; Fri, 28 Aug 2015 03:10:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1668E340917 for ; Fri, 28 Aug 2015 03:10:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F5D116E for ; Fri, 28 Aug 2015 03:10:34 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1440731418.e9b4951c8bf1f388c351db7c9d0ea0fea57b20c6.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nvme-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/nvme-cli/Manifest sys-apps/nvme-cli/metadata.xml sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild X-VCS-Directories: sys-apps/nvme-cli/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e9b4951c8bf1f388c351db7c9d0ea0fea57b20c6 X-VCS-Branch: master Date: Fri, 28 Aug 2015 03:10:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 42ccd8ff-468c-4288-af66-ef0b10fbf4ee X-Archives-Hash: f607cb7caa1ff4f9c32a756fdd107c15 commit: e9b4951c8bf1f388c351db7c9d0ea0fea57b20c6 Author: Zac Medico gentoo org> AuthorDate: Fri Aug 28 03:09:19 2015 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Aug 28 03:10:18 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b4951c sys-apps/nvme-cli: NVM-Express user space tooling for Linux Package-Manager: portage-2.2.20.1 sys-apps/nvme-cli/Manifest | 1 + sys-apps/nvme-cli/metadata.xml | 10 +++++++++ sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild | 29 +++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest new file mode 100644 index 0000000..86de946 --- /dev/null +++ b/sys-apps/nvme-cli/Manifest @@ -0,0 +1 @@ +DIST nvme-cli-0_pre20150821.tar.gz 106218 SHA256 3da0e1907203fff9da50e6a474a0c2081a05bd2688fa364c6fc90bf84125c5b6 SHA512 7a88c3f7e52adbba01c01e02064402f9bf27dc79c060d9510a8e9dbe7dbe5097aa2823470cf1264f416ff3484719ba2a01a30017dbaa6b66258aa6a9f1023325 WHIRLPOOL 94b18ff536fb2079218b984b60a4555cfb278a5a0fed1385940d90b8cf9fa10b21e99f886466318f77eb2c907ea2887de1ede0199cab2c1cdf92e252c1c9d8a5 diff --git a/sys-apps/nvme-cli/metadata.xml b/sys-apps/nvme-cli/metadata.xml new file mode 100644 index 0000000..43fbe31 --- /dev/null +++ b/sys-apps/nvme-cli/metadata.xml @@ -0,0 +1,10 @@ + + + + + zmedico@gentoo.org + + + linux-nvme/nvme-cli + + diff --git a/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild b/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild new file mode 100644 index 0000000..56a3234 --- /dev/null +++ b/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="NVM-Express user space tooling for Linux" +HOMEPAGE="https://github.com/linux-nvme/nvme-cli" +EGIT_COMMIT="709571d77bf618921fd719253da677742c673d06" +SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="sys-libs/libcap" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +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 +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install +}