dash/depends/packages/freetype.mk

28 lines
789 B
Makefile
Raw Permalink Normal View History

2014-12-31 17:49:12 +01:00
package=freetype
2023-08-03 13:45:17 +02:00
$(package)_version=2.11.0
$(package)_download_path=https://download.savannah.gnu.org/releases/$(package)
2023-08-03 13:45:17 +02:00
$(package)_file_name=$(package)-$($(package)_version).tar.xz
$(package)_sha256_hash=8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7
2014-12-31 17:49:12 +01:00
define $(package)_set_vars
$(package)_config_opts=--without-zlib --without-png --without-harfbuzz --without-bzip2 --disable-static
2023-08-03 13:45:17 +02:00
$(package)_config_opts += --enable-option-checking --without-brotli
2014-12-31 17:49:12 +01:00
$(package)_config_opts_linux=--with-pic
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 share/man lib/*.la
endef