diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-08 17:21:21 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-08 17:21:21 -0800 |
| commit | 4b5d4527f595e4202e1fc75afb5a279e9da66e53 (patch) | |
| tree | 1c9dfc983dfdaace45e2cdb2d1c2f8c56c7e1a98 | |
| parent | 44cb4467a3585ec1bf3b0b7cef695eca657e97c4 (diff) | |
| download | vcpkg-4b5d4527f595e4202e1fc75afb5a279e9da66e53.tar.gz vcpkg-4b5d4527f595e4202e1fc75afb5a279e9da66e53.zip | |
[glbinding] Use vcpkg_from_github()
| -rw-r--r-- | ports/glbinding/CONTROL | 2 | ||||
| -rw-r--r-- | ports/glbinding/portfile.cmake | 15 |
2 files changed, 9 insertions, 8 deletions
diff --git a/ports/glbinding/CONTROL b/ports/glbinding/CONTROL index b6eaf06bd..1fd781901 100644 --- a/ports/glbinding/CONTROL +++ b/ports/glbinding/CONTROL @@ -1,3 +1,3 @@ Source: glbinding -Version: 2.1.1-2 +Version: 2.1.1-3 Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API diff --git a/ports/glbinding/portfile.cmake b/ports/glbinding/portfile.cmake index 8b0f2f4b7..cf3f64e5d 100644 --- a/ports/glbinding/portfile.cmake +++ b/ports/glbinding/portfile.cmake @@ -7,19 +7,20 @@ # include(vcpkg_common_functions) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/glbinding-2.1.1) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/cginternals/glbinding/archive/v2.1.1.zip" - FILENAME "glbinding-2.1.1.zip" - SHA512 66b21853a4f4760b7b22cafd5211958769c513e83be999018fe79cf56a9271e0e28566caaa2286393f54ac2154d564a68d12159598d03c965adf6756f3753f11 +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO cginternals/glbinding + REF v2.1.1 + SHA512 6c7251555801272a90c87a9386324eb6993102601a036fc7d9f9b4ebed64c74d011909566e5fc5a34ef8242e24915848296023daa1420c91aaf08cf9635be397 + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS -DOPTION_BUILD_TESTS=OFF -DOPTION_BUILD_GPU_TESTS=OFF -) +) + #vcpkg_build_cmake() vcpkg_install_cmake() |
