dev-util/clinfo: A tool to display info about the system's OpenCL capabilities
authorCraig Andrews <candrews@gentoo.org>
Wed, 25 Oct 2017 19:01:05 +0000 (15:01 -0400)
committerCraig Andrews <candrews@gentoo.org>
Wed, 25 Oct 2017 20:08:50 +0000 (16:08 -0400)
Package-Manager: Portage-2.3.12, Repoman-2.3.3

Closes: https://github.com/gentoo/gentoo/pull/6054

dev-util/clinfo/Manifest [new file with mode: 0644]
dev-util/clinfo/clinfo-2.2.17.10.25.ebuild [new file with mode: 0644]
dev-util/clinfo/clinfo-9999.ebuild [new file with mode: 0644]
dev-util/clinfo/metadata.xml [new file with mode: 0644]

diff --git a/dev-util/clinfo/Manifest b/dev-util/clinfo/Manifest
new file mode 100644 (file)
index 0000000..b0095a1
--- /dev/null
@@ -0,0 +1 @@
+DIST clinfo-2.2.17.10.25.tar.gz 32992 SHA256 23cab774915eea6730582abfc449ac57dc10f2ce7b39293e56166ed500383862 SHA512 9b035fb9ee052a8cff517032db70d16c796c3a2b82fefded5805dd7b012472b1226fc634d8b9e890be604f26f959a2a7438966158e2ccfc9e27af1fc03971c46 WHIRLPOOL a2fbdcaf137a5c85f1374c928e6706d20af5709b82bab289401be03f1b59bb1d8ec494bef7a11f77f88347fc81905522db9edb8c2a5f968afa8b50e82f7a0005
diff --git a/dev-util/clinfo/clinfo-2.2.17.10.25.ebuild b/dev-util/clinfo/clinfo-2.2.17.10.25.ebuild
new file mode 100644 (file)
index 0000000..a3dd2fa
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git"
+       inherit git-r3
+       SRC_URI=""
+else
+       SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A tool to display info about the system's OpenCL capabilities"
+HOMEPAGE="https://github.com/Oblomov/clinfo"
+LICENSE="CC0-1.0"
+SLOT="0"
+
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       emake MANDIR="${ED}"/usr/share/man PREFIX="${ED}"/usr install
+}
diff --git a/dev-util/clinfo/clinfo-9999.ebuild b/dev-util/clinfo/clinfo-9999.ebuild
new file mode 100644 (file)
index 0000000..a3dd2fa
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/Oblomov/clinfo.git"
+       inherit git-r3
+       SRC_URI=""
+else
+       SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A tool to display info about the system's OpenCL capabilities"
+HOMEPAGE="https://github.com/Oblomov/clinfo"
+LICENSE="CC0-1.0"
+SLOT="0"
+
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       emake MANDIR="${ED}"/usr/share/man PREFIX="${ED}"/usr install
+}
diff --git a/dev-util/clinfo/metadata.xml b/dev-util/clinfo/metadata.xml
new file mode 100644 (file)
index 0000000..7682807
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>candrews@gentoo.org</email>
+               <name>Craig Andrews</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Oblomov/clinfo</remote-id>
+       </upstream>
+</pkgmetadata>