[libuuid] Fix wrong pkg-config installation (#21970) (#21972)

* [libuuid] Fix wrong pkg-config installation (#21970)

* update port version

* Update version database
This commit is contained in:
Vitaly 2021-12-13 23:23:30 +03:00 committed by GitHub
parent c5c3764a54
commit 2abab10a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 4 deletions

View File

@ -28,8 +28,12 @@ set(exec_prefix \$\{prefix\})
set(libdir \$\{exec_prefix\}/lib)
set(includedir \$\{prefix\}/include)
configure_file(${SOURCE_PATH}/uuid.pc.in ${SOURCE_PATH}/uuid.pc @ONLY)
file(INSTALL ${SOURCE_PATH}/uuid.pc DESTINATION ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
file(INSTALL ${SOURCE_PATH}/uuid.pc DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(INSTALL ${SOURCE_PATH}/uuid.pc DESTINATION ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(INSTALL ${SOURCE_PATH}/uuid.pc DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
endif()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/unofficial-libuuid TARGET_PATH share/unofficial-libuuid)
vcpkg_fixup_pkgconfig()

View File

@ -1,7 +1,7 @@
{
"name": "libuuid",
"version": "1.0.3",
"port-version": 8,
"port-version": 9,
"description": "Universally unique id library",
"homepage": "https://sourceforge.net/projects/libuuid",
"supports": "linux | osx"

View File

@ -4026,7 +4026,7 @@
},
"libuuid": {
"baseline": "1.0.3",
"port-version": 8
"port-version": 9
},
"libuv": {
"baseline": "1.42.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a545c6c9bf405bd60cb97d6e2086f1273f5a3321",
"version": "1.0.3",
"port-version": 9
},
{
"git-tree": "4058a76786f399c80e1973a4101e8291032b3e9b",
"version": "1.0.3",