aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-01-31 17:24:17 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2018-01-31 17:24:35 -0800
commit0e254766fd6f58208215ac50b87e8c845fc58033 (patch)
treed510b2dc4f67414896b4d5614731570ef85dd1b5
parentce93af997290d536db89db83b9b3b154a571c28f (diff)
downloadvcpkg-0e254766fd6f58208215ac50b87e8c845fc58033.tar.gz
vcpkg-0e254766fd6f58208215ac50b87e8c845fc58033.zip
[jxrlib] Switch to github
-rw-r--r--ports/jxrlib/portfile.cmake12
1 files changed, 7 insertions, 5 deletions
diff --git a/ports/jxrlib/portfile.cmake b/ports/jxrlib/portfile.cmake
index c7c089ff7..ca29a6aca 100644
--- a/ports/jxrlib/portfile.cmake
+++ b/ports/jxrlib/portfile.cmake
@@ -1,11 +1,13 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src)
-vcpkg_download_distfile(ARCHIVE
- URLS "http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=jxrlib&changeSetId=e922fa50cdf9a58f40cad07553bcaa2883d3c5bf"
- FILENAME "jxrlib_1_1.zip"
- SHA512 6e8b579108444e9bea8d01f57e2ac3b63963c084adb8e265cfd82bb1199b8bd168b8aa41319cf34b87e97db1d72d0f3cc2d3dac881fcd1a6f398fe808d55772d
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO 4creators/jxrlib
+ REF e922fa50cdf9a58f40cad07553bcaa2883d3c5bf
+ SHA512 15ed099e5f80571ebd86e115ed1c2dd18be4d6faa8b5f19212ea89582ec37e0ffa0629d80470fcb49f1c605996ea6ce76fd0dd95d9edee458ba290dff4d21537
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})