mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 13:49:06 +08:00
6dbf434e21
* [libgcrypt] update to 1.9.3 * [libgcrypt] use numeric versioning * [libgcrypt] fix description * [libgcrypt] update to 1.9.4 Use upstream Git repo, since the GitHub mirror appears out-of-sync * [libgcrypt] update versions
26 lines
875 B
CMake
26 lines
875 B
CMake
vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports unix platform" ON_TARGET "Windows")
|
|
|
|
vcpkg_from_git(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
URL git://git.gnupg.org/libgcrypt.git
|
|
FETCH_REF libgcrypt-1.9.4
|
|
REF 05422ca24a0391dad2a0b7790a904ce348819c10 # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=05422ca24a0391dad2a0b7790a904ce348819c10
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_make(
|
|
AUTOCONFIG
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
--disable-doc
|
|
--disable-silent-rules
|
|
--with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error
|
|
)
|
|
|
|
vcpkg_install_make()
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|