| 1 |
package=freetype |
| 2 |
$(package)_version=2.13.3 |
| 3 |
$(package)_download_path=https://sourceforge.net/projects/freetype/files/freetype2/$($(package)_version)/ |
| 4 |
$(package)_file_name=freetype-$($(package)_version).tar.gz |
| 5 |
$(package)_sha256_hash=5c3a8e78f7b24c20b25b54ee575d6daa40007a5f4eea2845861c3409b3021747 |
| 6 |
|
| 7 |
define $(package)_set_vars |
| 8 |
$(package)_config_opts := --without-zlib --without-png --without-harfbuzz --without-bzip2 --enable-static --disable-shared |
| 9 |
$(package)_config_opts += --enable-option-checking --without-brotli |
| 10 |
$(package)_config_opts += --with-pic |
| 11 |
endef |
| 12 |
|
| 13 |
define $(package)_preprocess_cmds |
| 14 |
rm -rf docs |
| 15 |
endef |
| 16 |
|
| 17 |
define $(package)_config_cmds |
| 18 |
$($(package)_autoconf) |
| 19 |
endef |
| 20 |
|
| 21 |
define $(package)_build_cmds |
| 22 |
$(MAKE) |
| 23 |
endef |
| 24 |
|
| 25 |
define $(package)_stage_cmds |
| 26 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 27 |
endef |
| 28 |
|
| 29 |
define $(package)_postprocess_cmds |
| 30 |
rm -rf share/man lib/*.la |
| 31 |
endef |