aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Fotopoulos <xorz57@gmail.com>2019-07-25 02:13:12 +0300
committerCurtis J Bezault <curtbezault@gmail.com>2019-07-24 16:13:12 -0700
commit8255ef352105d5f42e3d5e1a4e9e7beac3f4d5ff (patch)
tree6cf478b3be2d10e037ba497445850061d8d1fa60
parentaeecc01fbd9b888a186a407532af679eacdaab2c (diff)
downloadvcpkg-8255ef352105d5f42e3d5e1a4e9e7beac3f4d5ff.tar.gz
vcpkg-8255ef352105d5f42e3d5e1a4e9e7beac3f4d5ff.zip
[EasyCL] New GitHub Repository (#7387)
* Add EasyCL GitHub Repository * Update CONTROL
-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)