| 1 |
package=fontconfig |
| 2 |
$(package)_version=2.12.6 |
| 3 |
$(package)_download_path=https://www.freedesktop.org/software/fontconfig/release/ |
| 4 |
$(package)_file_name=fontconfig-$($(package)_version).tar.gz |
| 5 |
$(package)_sha256_hash=064b9ebf060c9e77011733ac9dc0e2ce92870b574cca2405e11f5353a683c334 |
| 6 |
$(package)_dependencies=freetype expat |
| 7 |
$(package)_patches=gperf_header_regen.patch |
| 8 |
|
| 9 |
define $(package)_set_vars |
| 10 |
$(package)_config_opts=--disable-docs --disable-static --disable-libxml2 --disable-iconv |
| 11 |
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
patch -p1 < $($(package)_patch_dir)/gperf_header_regen.patch |
| 16 |
endef |
| 17 |
|
| 18 |
define $(package)_config_cmds |
| 19 |
$($(package)_autoconf) |
| 20 |
endef |
| 21 |
|
| 22 |
define $(package)_build_cmds |
| 23 |
$(MAKE) |
| 24 |
endef |
| 25 |
|
| 26 |
define $(package)_stage_cmds |
| 27 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 28 |
endef |
| 29 |
|
| 30 |
define $(package)_postprocess_cmds |
| 31 |
rm -rf var lib/*.la |
| 32 |
endef |