2023-01-12 10:05:30 +03:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
|
|
URLS "http://download.savannah.nongnu.org/releases/acl/acl-${VERSION}.tar.xz"
|
2024-01-23 20:51:00 +01:00
|
|
|
"https://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/acl/acl-${VERSION}.tar.xz"
|
|
|
|
|
2023-01-12 10:05:30 +03:00
|
|
|
FILENAME "acl-${VERSION}.tar.xz"
|
2024-06-26 20:45:32 -07:00
|
|
|
SHA512 c2d061dbfd28c00cecbc1ae614d67f3138202bf4d39b383f2df4c6a8b10b830f33acec620fb211f268478737dde4037d338a5823af445253cb088c48a135099b
|
2023-01-12 10:05:30 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
|
|
|
ARCHIVE ${ARCHIVE}
|
|
|
|
)
|
|
|
|
|
2024-01-23 20:51:00 +01:00
|
|
|
vcpkg_list(SET options)
|
|
|
|
if("nls" IN_LIST FEATURES)
|
|
|
|
vcpkg_list(APPEND options "--enable-nls")
|
|
|
|
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/gettext/bin")
|
|
|
|
else()
|
|
|
|
set(ENV{AUTOPOINT} true) # true, the program
|
|
|
|
vcpkg_list(APPEND options "--disable-nls")
|
|
|
|
endif()
|
|
|
|
|
2023-01-12 10:05:30 +03:00
|
|
|
vcpkg_configure_make(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
AUTOCONFIG
|
2024-01-23 20:51:00 +01:00
|
|
|
OPTIONS
|
|
|
|
${options}
|
2023-01-12 10:05:30 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_make()
|
2024-01-23 20:51:00 +01:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2023-01-12 10:05:30 +03:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/COPYING.LGPL")
|