mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[libxslt] Update the version to 1.1.33 and change the URL. (#7058)
This commit is contained in:
parent
a6fe726ebb
commit
82cd021b42
@ -1,5 +1,5 @@
|
||||
Source: libxslt
|
||||
Version: 1.1.29
|
||||
Version: 1.1.33
|
||||
Homepage: http://xmlsoft.org/XSLT/
|
||||
Description: Libxslt is a XSLT library implemented in C for XSLT 1.0 and most of EXSLT
|
||||
Build-Depends: libxml2
|
||||
|
@ -7,21 +7,19 @@
|
||||
#
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libxslt-1.1.29)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "ftp://xmlsoft.org/libxslt/libxslt-1.1.29.tar.gz"
|
||||
FILENAME "libxslt-1.1.29.tar.gz"
|
||||
SHA512 a1ce555a74a9dabe65e8f64bb66e27e77760fd76940d88f2d59f58dd63ca73c8ae59f3fcbd8e76c8f92ff992fb0c09328528c20ea38ccac83e63252106bf5f31
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO GNOME/libxslt
|
||||
REF v1.1.33
|
||||
SHA512 2c20b2af3c19952b25b10dca0d95fe227602f7f815db352b04dd061c52c458d745f92c597ce08ac9207ba0fbe0169ea2fb78263d8590743717553f84463fe1d9
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-Fix-makefile.patch
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
find_program(NMAKE nmake)
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}/
|
||||
PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001-Fix-makefile.patch
|
||||
)
|
||||
|
||||
set(SCRIPTS_DIR ${SOURCE_PATH}/win32)
|
||||
|
||||
set(CONFIGURE_COMMAND_TEMPLATE cscript configure.js
|
||||
@ -170,7 +168,7 @@ else()
|
||||
endif()
|
||||
|
||||
# Handle copyright
|
||||
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxslt)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libxslt/COPYING ${CURRENT_PACKAGES_DIR}/share/libxslt/copyright)
|
||||
file(COPY ${SOURCE_PATH}/Copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxslt)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libxslt/Copyright ${CURRENT_PACKAGES_DIR}/share/libxslt/copyright)
|
||||
|
||||
vcpkg_copy_pdbs()
|
Loading…
x
Reference in New Issue
Block a user