aboutsummaryrefslogtreecommitdiff
path: root/ports/modp-base64
diff options
context:
space:
mode:
authorJohn Spaith <jspaith@windows.microsoft.com>2019-10-10 09:36:18 -0700
committerJohn Spaith <jspaith@windows.microsoft.com>2019-10-10 09:36:18 -0700
commit17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1 (patch)
tree7baa6f699aa57601dbba4ace876fad45958878fc /ports/modp-base64
parent1d4189d1dde0fa8bbcbc6237cc33b85bca0512e1 (diff)
parent2b049c47b5b2e003f8bcfe6707d4b0eaf8d1b569 (diff)
downloadvcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.tar.gz
vcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.zip
Merge from master
Diffstat (limited to 'ports/modp-base64')
-rw-r--r--ports/modp-base64/CONTROL2
-rw-r--r--ports/modp-base64/portfile.cmake9
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/modp-base64/CONTROL b/ports/modp-base64/CONTROL
index 3f277871a..983cce9d5 100644
--- a/ports/modp-base64/CONTROL
+++ b/ports/modp-base64/CONTROL
@@ -1,3 +1,3 @@
Source: modp-base64
-Version:
+Version: v2.0.0
Description:
diff --git a/ports/modp-base64/portfile.cmake b/ports/modp-base64/portfile.cmake
index 3ff058474..e2fdc248c 100644
--- a/ports/modp-base64/portfile.cmake
+++ b/ports/modp-base64/portfile.cmake
@@ -1,12 +1,15 @@
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/modp-base64-v2.0.0)
vcpkg_download_distfile(ARCHIVE
URLS "https://web.archive.org/web/20060620024518/http://modp.com:80/release/base64/modp-base64-v2.0.0.tar.bz2"
FILENAME "modp-base64-v2.0.0.tar.bz2"
SHA512 474e20cbbc47f31af5e981a6a9028fcec57e3ae9bb5ba979aa5c5c4cab6f301208fe6f441a0106df4c223d89fb6f18b19ab8812cf9f3c9900e54524e35b45720
)
-vcpkg_extract_source_archive(${ARCHIVE})
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+)
file(COPY
${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt
@@ -19,8 +22,6 @@ file(COPY
DESTINATION ${SOURCE_PATH}/src
)
-
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA