mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[log4cplus] Update to 2.1.1 (#35339)
* [log4cplus] Update to 2.1.1 * version * Fix debug pc file * version
This commit is contained in:
parent
c8586fdc33
commit
07039e2f12
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO log4cplus/log4cplus
|
||||
REF REL_2_1_0
|
||||
SHA512 fd26ae73e898af6896046e5e567bfc664bc8e81568c8cdbe5ff6316054b875af7fa946f7b1f011a96b0d3b53dc3f7f9411cbc2ffa07b674777cb0def2743ede8
|
||||
REF REL_2_1_1
|
||||
SHA512 ddc63ad574aed7d13980308c1f4d3a31a7fa9c7d4a14de923f9b3a851492d17f64f34166b6be77fc8584c0e98cd1f34ed3d9ba268e7456fd1ff3b7d8125dbe3a
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -42,11 +42,16 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/log4cplus)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/log4cplus.pc" "-llog4cplus" "-llog4cplusD")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/share/${PORT}/ChangeLog"
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE"
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/README.md")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "log4cplus",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "A simple to use C++ logging API providing thread--safe, flexible, and arbitrarily granular control over log management and configuration",
|
||||
"homepage": "https://github.com/log4cplus/log4cplus",
|
||||
"license": "Apache-2.0 AND BSD-2-Clause",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
@ -5245,7 +5245,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"log4cplus": {
|
||||
"baseline": "2.1.0",
|
||||
"baseline": "2.1.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"log4cpp-log4cpp": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "450db8aa0bcccc8479b3f3d2d1c63b71510c5dd4",
|
||||
"version": "2.1.1",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "c0a2d8577299ff33c61cbb08d3eb4d4616e4e392",
|
||||
"version": "2.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user