vcpkg/ports/libtar/portfile.cmake
talregev 57360831eb
[libtar] new port (#30317)
* Add libtar port

* Update ports/libtar/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

---------

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
2023-03-23 15:50:57 -07:00

16 lines
400 B
CMake

vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL https://repo.or.cz/libtar.git
REF 6d0ab4c78e7a8305c36a0c3d63fd25cd1493de65 # latest on master
)
vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_make()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")