2020-05-12 11:13:38 +08:00
|
|
|
set(OTL_VERSION 40455)
|
2019-10-08 01:35:13 +08:00
|
|
|
|
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2020-01-07 07:01:33 +08:00
|
|
|
URLS "http://otl.sourceforge.net/otlv4_${OTL_VERSION}.zip"
|
2020-01-11 02:43:26 +08:00
|
|
|
FILENAME "otlv4_${OTL_VERSION}.zip"
|
2020-05-12 11:13:38 +08:00
|
|
|
SHA512 2d5c52af3eafdd93bf7c651de218607b8985acc1fce279d48d9bf58ecf8a012332c8d0b9a33223a6449f343134211e2d7c5412b71efb36ba484bda754e1afc45
|
2019-10-08 01:35:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_extract_source_archive_ex(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
ARCHIVE ${ARCHIVE}
|
|
|
|
NO_REMOVE_ONE_LEVEL
|
|
|
|
)
|
|
|
|
|
2020-01-07 07:01:33 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/otlv${OTL_VERSION}.h"
|
2020-01-11 02:43:26 +08:00
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}"
|
2020-01-07 07:01:33 +08:00
|
|
|
RENAME otlv4.h)
|
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/otlv${OTL_VERSION}.h"
|
2020-01-11 02:43:26 +08:00
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
2020-01-07 07:01:33 +08:00
|
|
|
RENAME copyright)
|