2019-07-23 01:33:26 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libexif/libexif
|
2023-01-27 11:14:51 +08:00
|
|
|
REF v0.6.24
|
|
|
|
SHA512 eac1b5220ca0e02370837a0d78a6d38e91c5afa0956d4196b26a8d2a8a2c5dea18d58c0e473285f278653c3863923241651b7dff4d007cc46385eb29ea188330
|
2019-07-23 01:33:26 +08:00
|
|
|
HEAD_REF master
|
2023-01-27 11:14:51 +08:00
|
|
|
PATCHES
|
|
|
|
add-missing-_stdint-h.patch
|
2017-10-02 07:06:12 +08:00
|
|
|
)
|
|
|
|
|
2023-01-27 11:14:51 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/config.h.cmake" DESTINATION "${SOURCE_PATH}")
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/libexif.def" DESTINATION "${SOURCE_PATH}")
|
2017-10-02 07:06:12 +08:00
|
|
|
|
2023-01-27 11:14:51 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-10-02 07:06:12 +08:00
|
|
|
)
|
|
|
|
|
2023-01-27 11:14:51 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-10-02 07:06:12 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2023-01-27 11:14:51 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2017-10-02 07:06:12 +08:00
|
|
|
|
2023-01-27 11:14:51 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|