dash/depends/packages/freetype.mk

28 lines
758 B
Makefile
Raw Normal View History

2014-12-31 17:49:12 +01:00
package=freetype
$(package)_version=2.7.1
$(package)_download_path=https://download.savannah.gnu.org/releases/$(package)
2014-12-31 17:49:12 +01:00
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
$(package)_sha256_hash=3a3bb2c4e15ffb433f2032f50a5b5a92558206822e22bfe8cbe339af4aa82f88
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
$(package)_config_opts += --enable-option-checking
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 lib/*.la
endef