[sqlcipher] Fix the sqlcipher.pc file (#32548)

This commit is contained in:
jim wang 2023-07-19 03:27:38 +08:00 committed by GitHub
parent 93806d3ca7
commit 7f37cd6498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 2 deletions

View File

@ -67,6 +67,14 @@ if(NOT SQLITE3_SKIP_TOOLS)
)
endif()
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
SET(includedir "\${prefix}/include")
SET(PACKAGE_VERSION "4.5.3")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sqlcipher.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/sqlcipher.pc" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/sqlcipher.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
install(
TARGETS sqlcipher
EXPORT sqlcipher-targets

View File

@ -82,3 +82,4 @@ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share
vcpkg_copy_pdbs()
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}")
vcpkg_fixup_pkgconfig()

View File

@ -1,7 +1,7 @@
{
"name": "sqlcipher",
"version": "4.5.3",
"port-version": 1,
"port-version": 2,
"description": "SQLCipher extends the SQLite database library to add security enhancements that make it more suitable for encrypted local data storage.",
"homepage": "https://www.zetetic.net/sqlcipher",
"license": null,

View File

@ -7770,7 +7770,7 @@
},
"sqlcipher": {
"baseline": "4.5.3",
"port-version": 1
"port-version": 2
},
"sqlite-modern-cpp": {
"baseline": "3.2-936cd0c8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d270ac9cc648113c540f9f29e9ab0ebece65e369",
"version": "4.5.3",
"port-version": 2
},
{
"git-tree": "1debf9d86243c81b196302225f7c382958240a30",
"version": "4.5.3",