aboutsummaryrefslogtreecommitdiff
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
parent5fa8c717ea9fbf5949e6222526314feca2944c20 (diff)
downloadvcpkg-604c974fdb8f187c0c3f0ee56ed1dcb3db50e5c9.tar.gz
vcpkg-604c974fdb8f187c0c3f0ee56ed1dcb3db50e5c9.zip
[mapbox-wagyu] add new port (#18771)
* add wagyu * add versions * update hash * update versions
-rw-r--r--ports/mapbox-wagyu/portfile.cmake15
-rw-r--r--ports/mapbox-wagyu/vcpkg.json6
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/m-/mapbox-wagyu.json9
4 files changed, 34 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"
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 2bbc7331d..f53b8c3b2 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3908,6 +3908,10 @@
"baseline": "1.2.0",
"port-version": 0
},
+ "mapbox-wagyu": {
+ "baseline": "0.5.0",
+ "port-version": 0
+ },
"marble": {
"baseline": "19.08.2",
"port-version": 2
diff --git a/versions/m-/mapbox-wagyu.json b/versions/m-/mapbox-wagyu.json
new file mode 100644
index 000000000..8efd1e5f0
--- /dev/null
+++ b/versions/m-/mapbox-wagyu.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "84cb6917fd5563c88998e47c219f429e05aea9d5",
+ "version-semver": "0.5.0",
+ "port-version": 0
+ }
+ ]
+}