2022-07-30 03:53:41 +08:00
if ( VCPKG_TARGET_IS_LINUX )
2022-02-17 04:56:41 +08:00
message ( WARNING "${PORT} currently requires the following packages:\n autoconf-archive\nThese can be installed on Ubuntu systems via\n sudo apt-get update -y\n sudo apt-get install -y autoconf-archive\n" )
2021-12-11 06:01:15 +08:00
endif ( )
2021-01-25 15:01:16 +08:00
set ( VERSION 4.1.0 )
2017-08-08 23:48:24 +08:00
vcpkg_download_distfile ( ARCHIVE
2021-01-25 15:01:16 +08:00
U R L S " h t t p : / / w w w . m p f r . o r g / m p f r - $ { V E R S I O N } / m p f r - $ { V E R S I O N } . t a r . x z " " h t t p s : / / f t p . g n u . o r g / g n u / m p f r / m p f r - $ { V E R S I O N } . t a r . x z "
F I L E N A M E " m p f r - $ { V E R S I O N } . t a r . x z "
S H A 5 1 2 1 b d 1 c 3 4 9 7 4 1 a 6 5 2 9 d f a 5 3 a f 4 f 0 d a 8 d 4 9 2 5 4 b 1 6 4 e c e 8 a 4 6 9 2 8 c d b 1 3 a 9 9 4 6 0 2 8 5 6 2 2 d 5 7 f e 6 f 6 8 c e f 1 9 c 6 7 2 7 b 3 f 9 d a a 2 5 d d b 3 d 7 d 6 5 c 2 0 1 c 8 f 3 8 7 e 4 2 1 c 7 f 7 b e e 6 2 7 3
2017-08-08 23:48:24 +08:00
)
2019-10-08 01:35:13 +08:00
vcpkg_extract_source_archive_ex (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
2022-02-17 04:56:41 +08:00
A R C H I V E " $ { A R C H I V E } "
2022-07-30 03:53:41 +08:00
P A T C H E S
2021-01-25 15:01:16 +08:00
d l l . p a t c h
2022-02-17 04:56:41 +08:00
s r c - o n l y . p a t c h
2019-10-08 01:35:13 +08:00
)
2021-01-25 15:01:16 +08:00
file ( REMOVE_RECURSE "${SOURCE_PATH}/m4" )
2022-02-17 04:56:41 +08:00
2021-01-25 15:01:16 +08:00
vcpkg_configure_make (
2021-12-11 06:01:15 +08:00
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2021-01-25 15:01:16 +08:00
A U T O C O N F I G
2022-02-17 04:56:41 +08:00
A D D I T I O N A L _ M S Y S _ P A C K A G E S a u t o c o n f - a r c h i v e
2017-08-08 23:48:24 +08:00
)
2021-01-25 15:01:16 +08:00
vcpkg_install_make ( )
2017-08-08 23:48:24 +08:00
vcpkg_copy_pdbs ( )
2021-01-25 15:01:16 +08:00
vcpkg_fixup_pkgconfig ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
2017-08-08 23:48:24 +08:00
2022-07-30 03:53:41 +08:00
file ( REMOVE
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / A U T H O R S "
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / B U G S "
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / C O P Y I N G "
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / C O P Y I N G . L E S S E R "
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / N E W S "
" $ { C U R R E N T _ P A C K A G E S _ D I R } / s h a r e / $ { P O R T } / T O D O "
)
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/COPYING" "${SOURCE_PATH}/COPYING.LESSER" )