pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
opencl-clhpp: Import opencl-clhpp-2.2.0.20200123 as wip/opencl-clhpp
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Jan 23 15:06:47 2020 +0100
Changeset: 5e203df04994c854ea1fea2db76c6a0d58b89365
Modified Files:
Makefile
Added Files:
opencl-clhpp/DESCR
opencl-clhpp/Makefile
opencl-clhpp/PLIST
opencl-clhpp/TODO
opencl-clhpp/buildlink3.mk
opencl-clhpp/distinfo
Log Message:
opencl-clhpp: Import opencl-clhpp-2.2.0.20200123 as wip/opencl-clhpp
OpenCL API C++ bindings (cl.hpp and cl2.hpp).
XXX: Completely untested!
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e203df04994c854ea1fea2db76c6a0d58b89365
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
opencl-clhpp/DESCR | 1 +
opencl-clhpp/Makefile | 26 ++++++++++++++++++++++++++
opencl-clhpp/PLIST | 3 +++
opencl-clhpp/TODO | 2 ++
opencl-clhpp/buildlink3.mk | 15 +++++++++++++++
opencl-clhpp/distinfo | 6 ++++++
7 files changed, 54 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index f788ec9d09..029eae8ab4 100644
--- a/Makefile
+++ b/Makefile
@@ -2474,6 +2474,7 @@ SUBDIR+= openbsc
SUBDIR+= openbsd-input-usbtablet
SUBDIR+= openca
SUBDIR+= opencascade
+SUBDIR+= opencl-clhpp
SUBDIR+= opencl-headers
SUBDIR+= openclonk
SUBDIR+= opendchub
diff --git a/opencl-clhpp/DESCR b/opencl-clhpp/DESCR
new file mode 100644
index 0000000000..7aafd8df4f
--- /dev/null
+++ b/opencl-clhpp/DESCR
@@ -0,0 +1 @@
+OpenCL API C++ bindings (cl.hpp and cl2.hpp).
diff --git a/opencl-clhpp/Makefile b/opencl-clhpp/Makefile
new file mode 100644
index 0000000000..acf8de0df9
--- /dev/null
+++ b/opencl-clhpp/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME= OpenCL-CLHPP
+PKGNAME= opencl-clhpp-2.2.0.20200123
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KhronosGroup/}
+GITHUB_PROJECT= ${DISTNAME}
+GITHUB_TAG= 3a4d175f89d8ff3f806bf88fc2af4be582c198d2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/KhronosGroup/OpenCL-CLHPP
+COMMENT= OpenCL API C++ bindings (cl.hpp and cl2.hpp)
+LICENSE= mit # mostly, XXX: double-check
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+do-build:
+ ${RUN} cd ${WRKSRC} && ${PYTHONBIN} gen_cl_hpp.py
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/CL
+ ${RUN} cd ${WRKSRC} && \
+ ${INSTALL_DATA} include/CL/* ${DESTDIR}${PREFIX}/include/CL
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/opencl-clhpp/PLIST b/opencl-clhpp/PLIST
new file mode 100644
index 0000000000..935e5b7b46
--- /dev/null
+++ b/opencl-clhpp/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+include/CL/cl.hpp
+include/CL/cl2.hpp
diff --git a/opencl-clhpp/TODO b/opencl-clhpp/TODO
new file mode 100644
index 0000000000..2333ff3980
--- /dev/null
+++ b/opencl-clhpp/TODO
@@ -0,0 +1,2 @@
+- Double-check LICENSE
+- Double-check PKGVERSION_NOREV
diff --git a/opencl-clhpp/buildlink3.mk b/opencl-clhpp/buildlink3.mk
new file mode 100644
index 0000000000..2762ba6b9e
--- /dev/null
+++ b/opencl-clhpp/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_DEPMETHOD.opencl-clhpp?= build
+
+BUILDLINK_TREE+= opencl-clhpp
+
+.if !defined(OPENCL_CLHPP_BUILDLINK3_MK)
+OPENCL_CLHPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.opencl-clhpp+= opencl-clhpp>=2.2.0.20200123
+BUILDLINK_PKGSRCDIR.opencl-clhpp?= ../../wip/opencl-clhpp
+
+.endif # OPENCL_CLHPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -opencl-clhpp
diff --git a/opencl-clhpp/distinfo b/opencl-clhpp/distinfo
new file mode 100644
index 0000000000..5d9a0526c0
--- /dev/null
+++ b/opencl-clhpp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (OpenCL-CLHPP-3a4d175f89d8ff3f806bf88fc2af4be582c198d2.tar.gz) = 8a064a7e323e43660f35ee2e554aad9d5730f41d
+RMD160 (OpenCL-CLHPP-3a4d175f89d8ff3f806bf88fc2af4be582c198d2.tar.gz) = 5c5da93bc7629bad5449d31551b70ecef34548ac
+SHA512 (OpenCL-CLHPP-3a4d175f89d8ff3f806bf88fc2af4be582c198d2.tar.gz) = 6442f1d50629d214cbff905d140eff6aa7f8a4afbde938579e4651d4df2e6fbe29d572fb5fc52d8a9bab0723039f07a6018fa0d2891b50206558f7052b340780
+Size (OpenCL-CLHPP-3a4d175f89d8ff3f806bf88fc2af4be582c198d2.tar.gz) = 172172 bytes
Home |
Main Index |
Thread Index |
Old Index