aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorMathis Logemann <mathisloge@gmail.com>2021-07-06 22:57:41 +0200
committerGitHub <noreply@github.com>2021-07-06 13:57:41 -0700
commit604c974fdb8f187c0c3f0ee56ed1dcb3db50e5c9 (patch)
tree1dac8746289148be2c438a713b46b3690ad8847a /ports
parent5fa8c717ea9fbf5949e6222526314feca2944c20 (diff)
downloadvcpkg-604c974fdb8f187c0c3f0ee56ed1dcb3db50e5c9.tar.gz
vcpkg-604c974fdb8f187c0c3f0ee56ed1dcb3db50e5c9.zip
[mapbox-wagyu] add new port (#18771)
* add wagyu * add versions * update hash * update versions
Diffstat (limited to 'ports')
-rw-r--r--ports/mapbox-wagyu/portfile.cmake15
-rw-r--r--ports/mapbox-wagyu/vcpkg.json6
2 files changed, 21 insertions, 0 deletions
diff --git a/ports/mapbox-wagyu/portfile.cmake b/ports/mapbox-wagyu/portfile.cmake
new file mode 100644
index 000000000..b43c60ce2
--- /dev/null
+++ b/ports/mapbox-wagyu/portfile.cmake
@@ -0,0 +1,15 @@
+#header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mapbox/wagyu
+ REF 0.5.0
+ SHA512 d2ef6c056b25e60677da4f53154790558ddb43c56aa117a4d5108f8c7686cceff9e5d54d71138e2eb504f053315d28f7cb8190ff45833c5606d511b685acf40d
+ HEAD_REF master
+)
+
+# Copy header files
+file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/mapbox-wagyu/vcpkg.json b/ports/mapbox-wagyu/vcpkg.json
new file mode 100644
index 000000000..8da0b6444
--- /dev/null
+++ b/ports/mapbox-wagyu/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "mapbox-wagyu",
+ "version-semver": "0.5.0",
+ "description": "A general library for geometry operations of union, intersections, difference, and xor",
+ "homepage": "https://github.com/mapbox/wagyu"
+}