diff options
| author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-01-09 23:34:22 +0100 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-09 14:34:22 -0800 |
| commit | cf2ecd51ef6b93ffb0eb4397b6228a892a16b69f (patch) | |
| tree | 31ca518c0e1b5773ce32516ec47ce220af625234 | |
| parent | 891a840ffa22d7d2631a0c67ec4f0b001e1c19ed (diff) | |
| download | vcpkg-cf2ecd51ef6b93ffb0eb4397b6228a892a16b69f.tar.gz vcpkg-cf2ecd51ef6b93ffb0eb4397b6228a892a16b69f.zip | |
reproc: Update to v10.0.2. (#9544)
| -rw-r--r-- | ports/reproc/CONTROL | 3 | ||||
| -rw-r--r-- | ports/reproc/portfile.cmake | 30 |
2 files changed, 18 insertions, 15 deletions
diff --git a/ports/reproc/CONTROL b/ports/reproc/CONTROL index 4ae48295e..974e0616e 100644 --- a/ports/reproc/CONTROL +++ b/ports/reproc/CONTROL @@ -1,3 +1,4 @@ Source: reproc -Version: 9.0.0 +Version: 10.0.3 Description: Cross-platform (C99/C++11) process library +Homepage: https://github.com/DaanDeMeyer/reproc diff --git a/ports/reproc/portfile.cmake b/ports/reproc/portfile.cmake index 0d6aefced..97b196042 100644 --- a/ports/reproc/portfile.cmake +++ b/ports/reproc/portfile.cmake @@ -1,10 +1,8 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO DaanDeMeyer/reproc - REF v9.0.0 - SHA512 c9ab8c459f4cdf2b740edd461eefa2972a068078999ab97efff4473f1fae4dd774d00ea56cb33bdf883f78eb8d8b73aa721d35dd77e016b047cf4c9dadfee72b + REF v10.0.3 + SHA512 6d102962fbfb61b239d243fd38f7519c28cf7098e2e1a2bfd19035fa7152f4dcc51875683c76c1fa7274b786dde4b90873ae4a1eb6e5d9e485e6614ab06bf0d2 HEAD_REF master ) @@ -12,20 +10,24 @@ vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA OPTIONS - -DREPROC++=ON + -DREPROCXX=ON -DREPROC_INSTALL_PKGCONFIG=OFF + -DREPROC_INSTALL_CMAKECONFIGDIR=share ) vcpkg_install_cmake() -file(GLOB REPROC_CMAKE_FILES ${CURRENT_PACKAGES_DIR}/lib/cmake/reproc++/*) -file(INSTALL ${REPROC_CMAKE_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc++) -file(INSTALL ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/reproc++/reproc++-targets-debug.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc++) -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/reproc) - -# Debug file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -# Handle License -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/reproc) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/reproc/LICENSE ${CURRENT_PACKAGES_DIR}/share/reproc/copyright) +foreach(TARGET reproc reprocxx) + vcpkg_fixup_cmake_targets( + CONFIG_PATH share/${TARGET} + TARGET_PATH share/${TARGET} + ) +endforeach() + +file( + INSTALL ${SOURCE_PATH}/LICENSE + DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} + RENAME copyright +) |
