aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/easycl
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/easycl')
-rw-r--r--vcpkg/ports/easycl/portfile.cmake13
-rw-r--r--vcpkg/ports/easycl/vcpkg.json10
2 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/easycl/portfile.cmake b/vcpkg/ports/easycl/portfile.cmake
new file mode 100644
index 0000000..5546394
--- /dev/null
+++ b/vcpkg/ports/easycl/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO architector1324/EasyCL
+ REF 0.3
+ SHA512 c0e9aa03c9039e9ffe4794ccc4e85654f8267924e577cf96fd8d5e141fab9e8f6dc4668ee4475d6df3ba77572e52a181493acd3dfdb0abf7bd83b7e3d4d08a29
+ HEAD_REF master
+)
+
+# Handle headers
+file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/easycl RENAME copyright)
diff --git a/vcpkg/ports/easycl/vcpkg.json b/vcpkg/ports/easycl/vcpkg.json
new file mode 100644
index 0000000..c97eaf6
--- /dev/null
+++ b/vcpkg/ports/easycl/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "easycl",
+ "version": "0.3",
+ "port-version": 2,
+ "description": "OpenCL based lightweight c++ computing library",
+ "homepage": "https://github.com/architector1324/EasyCL",
+ "dependencies": [
+ "opencl"
+ ]
+}