vcpkg/ports/vcpkg-make/portfile.cmake
Javier Matos Denizac 80d54ff62d
[vcpkg-make] Add new port (#39050)
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
Co-authored-by: Alexander Neumann <alexander.neumann@hamburg.de>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
Co-authored-by: Javier Matos <javiermatos@Javiers-Laptop.local>
2024-12-23 14:58:54 -05:00

33 lines
1.0 KiB
CMake

set(VCPKG_POLICY_CMAKE_HELPER_PORT enabled)
vcpkg_download_distfile(ARCHIVE
URLS https://ftp.gnu.org/gnu/automake/automake-1.17.tar.gz
FILENAME automake.tar.gz
SHA512 11357dfab8cbf4b5d94d9d06e475732ca01df82bef1284888a34bd558afc37b1a239bed1b5eb18a9dbcc326344fb7b1b301f77bb8385131eb8e1e118b677883a
)
vcpkg_extract_source_archive(
automake_source
ARCHIVE "${ARCHIVE}"
)
file(INSTALL
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_make_configure.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_make_install.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_make_common.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_make.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_scripts.cmake"
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
DESTINATION
"${CURRENT_PACKAGES_DIR}/share/${PORT}"
)
file(INSTALL
"${automake_source}/lib/ar-lib"
"${automake_source}/lib/compile"
DESTINATION
"${CURRENT_PACKAGES_DIR}/share/${PORT}/wrappers"
)
vcpkg_install_copyright(FILE_LIST "${VCPKG_ROOT_DIR}/LICENSE.txt")