vcpkg/ports/tclap/portfile.cmake
DevFdv 9e26f9208b
[tclap] Update TCLAP to 1.2.5 (#24644)
* [tclap] Update to TCLAP 1.2.5

* [tclap] x-add-version to update TCLAP to 1.2.5

* [tclap] Specify MIT license in manifest.

* [tclap] x-add-version after license update.
2022-05-11 16:46:02 -07:00

11 lines
474 B
CMake

vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO tclap
FILENAME "tclap-1.2.5.tar.gz"
SHA512 3b5b3d76e8ff21133001f5f9589fa6ec143729909bf0b9cc9934377bce178360c161fb5c1f4c4d9e9c74b09cff3d65f1d5100e61d4a732283524a78b6f236b10
)
file(COPY "${SOURCE_PATH}/include/tclap" DESTINATION "${CURRENT_PACKAGES_DIR}/include" FILES_MATCHING PATTERN "*.h")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)