summaryrefslogtreecommitdiffstats
path: root/dev-libs/pocl/pocl-1.1.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-libs/pocl/pocl-1.1.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'dev-libs/pocl/pocl-1.1.ebuild')
-rw-r--r--dev-libs/pocl/pocl-1.1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/pocl/pocl-1.1.ebuild b/dev-libs/pocl/pocl-1.1.ebuild
new file mode 100644
index 0000000..4766d9b
--- /dev/null
+++ b/dev-libs/pocl/pocl-1.1.ebuild
@@ -0,0 +1,25 @@
+EAPI="6"
+inherit cmake-utils cmake-multilib versionator
+
+DESCRIPTION="Portable Computing Language"
+HOMEPAGE="http://portablecl.org"
+
+PV_RC_SEPARATOR_FIXED=$(replace_version_separator '_' '-')
+PV_FILE_FORMAT=${PV_RC_SEPARATOR_FIXED^^}
+SRC_URI="https://github.com/pocl/pocl/archive/v${PV_FILE_FORMAT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${PV_FILE_FORMAT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE=""
+
+RDEPEND=">=sys-devel/llvm-3.9
+ sys-devel/clang
+ sys-apps/hwloc
+ "
+
+DEPEND="${RDEPEND}"
+
+PATCHES=("${FILESDIR}/vendor_opencl_libs_location.epatch"
+)