feather/contrib/depends/packages/native_fontconfig.mk

33 lines
953 B
Makefile
Raw Normal View History

2022-12-21 15:15:22 +00:00
package=native_fontconfig
2022-06-02 12:50:33 +00:00
$(package)_version=2.12.6
$(package)_download_path=https://www.freedesktop.org/software/fontconfig/release/
2022-12-21 15:15:22 +00:00
$(package)_file_name=fontconfig-$($(package)_version).tar.bz2
2022-06-02 12:50:33 +00:00
$(package)_sha256_hash=cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
2022-12-21 15:15:22 +00:00
$(package)_dependencies=native_freetype native_expat
2022-06-02 12:50:33 +00:00
$(package)_patches=gperf_header_regen.patch
define $(package)_set_vars
$(package)_config_opts=--disable-docs --disable-static --disable-libxml2 --disable-iconv
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
endef
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/gperf_header_regen.patch
endef
define $(package)_config_cmds
$($(package)_autoconf)
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
define $(package)_postprocess_cmds
rm -rf var lib/*.la
endef