aboutsummaryrefslogtreecommitdiff
path: root/ports/opengl-registry
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-06-30 21:05:51 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-07-02 22:16:47 -0700
commitb08e78b07d4340a537f8d1470137883775a8902a (patch)
tree98e3e558875e42d4c0a4cef8c9e0cbbad720f25e /ports/opengl-registry
parent3c16addc8c8e6516a4ee4edcb11c1fc428d38b96 (diff)
downloadvcpkg-b08e78b07d4340a537f8d1470137883775a8902a.tar.gz
vcpkg-b08e78b07d4340a537f8d1470137883775a8902a.zip
[cmark][gl3w][libpopt][libraw][libssh][live555] Fixes, mostly around changing download locations.
Diffstat (limited to 'ports/opengl-registry')
-rw-r--r--ports/opengl-registry/CONTROL4
-rw-r--r--ports/opengl-registry/portfile.cmake18
2 files changed, 22 insertions, 0 deletions
diff --git a/ports/opengl-registry/CONTROL b/ports/opengl-registry/CONTROL
new file mode 100644
index 000000000..0d9844ed7
--- /dev/null
+++ b/ports/opengl-registry/CONTROL
@@ -0,0 +1,4 @@
+Source: opengl-registry
+Version: 2018-06-30
+Build-Depends: egl-registry
+Description: the API and Extension registries for the OpenGL family APIs
diff --git a/ports/opengl-registry/portfile.cmake b/ports/opengl-registry/portfile.cmake
new file mode 100644
index 000000000..5e997ac23
--- /dev/null
+++ b/ports/opengl-registry/portfile.cmake
@@ -0,0 +1,18 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO KhronosGroup/OpenGL-Registry
+ REF e18e52a14e902a9ee29c5bf87478ac2ca21bb06b
+ SHA512 3b883115e138178984a751ee314b0589a7a20db3bc7cff96fa0b886be1779c24031ce65847386aa2d4f42823b1597edccc5a9afc0aef42fea8611a44d2ca5df6
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/api/GL DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Using the Makefile because it is the smallest file with a complete copy of the license text
+file(
+ INSTALL ${SOURCE_PATH}/xml/Makefile
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/opengl-registry
+ RENAME copyright
+)