aboutsummaryrefslogtreecommitdiff
path: root/ports/libguarded
diff options
context:
space:
mode:
authorzi-m <zi.m.github.com@gmail.com>2019-08-29 20:39:11 +0200
committerzi-m <zi.m.github.com@gmail.com>2019-08-29 20:39:11 +0200
commit7fd21c5d827c2d77b21270646c2fe53704245747 (patch)
tree2e6c8a4e482c6093acec724a9ec6d1efb5207bd7 /ports/libguarded
parent94d52ecffe377a3d11f626d84a2da9ca5c60be9a (diff)
parentf5c732b40d43f062278f247036b773477823813b (diff)
downloadvcpkg-7fd21c5d827c2d77b21270646c2fe53704245747.tar.gz
vcpkg-7fd21c5d827c2d77b21270646c2fe53704245747.zip
Merge remote-tracking branch 'upstream/master' into wxchartdir
Diffstat (limited to 'ports/libguarded')
-rw-r--r--ports/libguarded/CONTROL4
-rw-r--r--ports/libguarded/portfile.cmake15
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/libguarded/CONTROL b/ports/libguarded/CONTROL
new file mode 100644
index 000000000..c37866406
--- /dev/null
+++ b/ports/libguarded/CONTROL
@@ -0,0 +1,4 @@
+Source: libguarded
+Version: 2019-08-27
+Homepage: https://github.com/copperspice/libguarded
+Description: The libGuarded library is a standalone header-only library for multithreaded programming. \ No newline at end of file
diff --git a/ports/libguarded/portfile.cmake b/ports/libguarded/portfile.cmake
new file mode 100644
index 000000000..d195774c3
--- /dev/null
+++ b/ports/libguarded/portfile.cmake
@@ -0,0 +1,15 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO copperspice/libguarded
+ REF 1f159aa866a50f5d2952de41d8a99821b8ec37df
+ SHA512 3ff138719b895a9c45492aee0a30e9f9eff2c3b3510de01dad59123fac6bdc1c7479518f5a81a61e4d25c0f9679b21b5018953d99809f52aafa7729599a3282a
+ HEAD_REF master
+)
+
+File(COPY ${SOURCE_PATH}/src/libguarded DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
+