Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
[Sqlite3] update to 3.25.2 (microsoft#4600)
Browse files Browse the repository at this point in the history
* [Sqlite3] update to 3.25.2

* [sqlite3] Use vcpkg_extract_source_archive_ex
  • Loading branch information
andyli authored and ras0219-msft committed Nov 7, 2018
1 parent bed365b commit a0d6a29
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ports/sqlite3/CONTROL
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 10 additions & 5 deletions ports/sqlite3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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})

Expand Down

0 comments on commit a0d6a29

Please sign in to comment.