diff options
| author | Andy Li <andy@onthewings.net> | 2018-11-07 09:29:12 +0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-11-06 17:29:12 -0800 |
| commit | a0d6a2925c5eb2cb7b3c793f74eff3220f893007 (patch) | |
| tree | 850a75d8c66934a5e716e5ac7a34940c84ba4e3c | |
| parent | bed365bfae208241f2a69f6fba89145ab710051a (diff) | |
| download | vcpkg-a0d6a2925c5eb2cb7b3c793f74eff3220f893007.tar.gz vcpkg-a0d6a2925c5eb2cb7b3c793f74eff3220f893007.zip | |
[Sqlite3] update to 3.25.2 (#4600)
* [Sqlite3] update to 3.25.2
* [sqlite3] Use vcpkg_extract_source_archive_ex
| -rw-r--r-- | ports/sqlite3/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sqlite3/portfile.cmake | 15 |
2 files changed, 11 insertions, 6 deletions
diff --git a/ports/sqlite3/CONTROL b/ports/sqlite3/CONTROL index 1b8de9b7c..91ea02a14 100644 --- a/ports/sqlite3/CONTROL +++ b/ports/sqlite3/CONTROL @@ -1,5 +1,5 @@ Source: sqlite3 -Version: 3.24.0-2 +Version: 3.25.2 Description: SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. Feature: tool diff --git a/ports/sqlite3/portfile.cmake b/ports/sqlite3/portfile.cmake index 423dda8c5..b2422aecc 100644 --- a/ports/sqlite3/portfile.cmake +++ b/ports/sqlite3/portfile.cmake @@ -1,14 +1,19 @@ include(vcpkg_common_functions)
-set(SQLITE_VERSION 3240000)
-set(SQLITE_HASH c7050bdd33c50b24e8c9fd2409b7bccbdcd8d6f064b435ee34b6c4a4de6283bce2500d4a3aa3821be2069804dff45a575ff331c97b39e02b227ef32e542ed6cb)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-${SQLITE_VERSION})
+set(SQLITE_VERSION 3250200)
+set(SQLITE_HASH f87b4ab405f85df85b5d63e9e28c4db76202dc2d5461e0d0c626fa7521570d89a1122403c037704859ecb58ac1747ebf4b3c8a2f3a3c3d8492e8060df92e379f)
vcpkg_download_distfile(ARCHIVE
URLS "https://sqlite.org/2018/sqlite-amalgamation-${SQLITE_VERSION}.zip"
FILENAME "sqlite-amalgamation-${SQLITE_VERSION}.zip"
- SHA512 ${SQLITE_HASH})
-vcpkg_extract_source_archive(${ARCHIVE})
+ SHA512 ${SQLITE_HASH}
+)
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+ REF ${SQLITE_VERSION}
+)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
