aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/easycl/CONTROL5
-rw-r--r--ports/easycl/portfile.cmake15
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/easycl/CONTROL b/ports/easycl/CONTROL
new file mode 100644
index 000000000..ad61f2260
--- /dev/null
+++ b/ports/easycl/CONTROL
@@ -0,0 +1,5 @@
+Source: easycl
+Version: 0.3
+Homepage: https://github.com/architector1324/EasyCL
+Build-Depends: opencl
+Description: OpenCL based lightweight c++ computing library
diff --git a/ports/easycl/portfile.cmake b/ports/easycl/portfile.cmake
new file mode 100644
index 000000000..694a853bb
--- /dev/null
+++ b/ports/easycl/portfile.cmake
@@ -0,0 +1,15 @@
+include(vcpkg_common_functions)
+
+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)