From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 68BC3138334 for ; Wed, 7 Aug 2019 17:38:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65423E0870; Wed, 7 Aug 2019 17:38:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4636DE0870 for ; Wed, 7 Aug 2019 17:38:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3FC63494B5 for ; Wed, 7 Aug 2019 17:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE0A774E for ; Wed, 7 Aug 2019 17:38:52 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1565199524.b32753ba763ba9c57b866bfadf4f97cf1a6a5e2d.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild X-VCS-Directories: dev-libs/roct-thunk-interface/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: b32753ba763ba9c57b866bfadf4f97cf1a6a5e2d X-VCS-Branch: master Date: Wed, 7 Aug 2019 17:38:52 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0e2565f-0045-4ca2-b61d-be55442bdc48 X-Archives-Hash: 3b05b53c5ef788755de44c487f6b971e commit: b32753ba763ba9c57b866bfadf4f97cf1a6a5e2d Author: Craig Andrews gentoo org> AuthorDate: Mon Jul 22 20:22:51 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Aug 7 17:38:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32753ba dev-libs/roct-thunk-interface: add -9999 version Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Craig Andrews gentoo.org> .../roct-thunk-interface-9999.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild new file mode 100644 index 00000000000..28db57d3c71 --- /dev/null +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils linux-info + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCT-Thunk-Interface-roc-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Thunk Interface" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface" +CONFIG_CHECK="~HSA_AMD" +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" + +RDEPEND="sys-process/numactl + sys-apps/pciutils" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die + cmake-utils_src_prepare +} +src_configure() { + local mycmakeargs=( + -DCPACK_PACKAGING_INSTALL_PREFIX=/usr + ) + cmake-utils_src_configure +} +src_compile() { + cmake-utils_src_compile build-dev +} +src_install() { + cmake-utils_src_install install-dev +}