2016-11-11 02:42:23 +08:00
|
|
|
include(vcpkg_common_functions)
|
2019-10-08 01:35:13 +08:00
|
|
|
|
2016-11-11 02:42:23 +08:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2018-01-10 21:40:27 +08:00
|
|
|
URLS "http://downloads.sourceforge.net/project/tclap/tclap-1.2.2.tar.gz"
|
|
|
|
FILENAME "tclap-1.2.2.tar.gz"
|
|
|
|
SHA512 516ec17f82a61277922bc8c0ed66973300bf42a738847fbbd2912c6405c34f94a13e47dc964854a5b26a9a9f1f518cce682ca54e769d6016851656c647866107
|
2016-11-11 02:42:23 +08:00
|
|
|
)
|
|
|
|
|
2019-10-08 01:35:13 +08:00
|
|
|
vcpkg_extract_source_archive_ex(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
ARCHIVE ${ARCHIVE}
|
|
|
|
)
|
|
|
|
|
2016-11-11 02:42:23 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/include/tclap"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
|
|
|
FILES_MATCHING PATTERN "*.h")
|
|
|
|
|
2019-10-08 01:35:13 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|