bitcoin/depends/packages/expat.mk

30 lines
908 B
Makefile
Raw Normal View History

package=expat
2022-07-25 13:18:11 +02:00
$(package)_version=2.4.8
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$($(package)_version))/
2020-08-14 05:07:53 +02:00
$(package)_file_name=$(package)-$($(package)_version).tar.xz
2022-07-25 13:18:11 +02:00
$(package)_sha256_hash=f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25
define $(package)_set_vars
$(package)_config_opts=--disable-shared --without-docbook --without-tests --without-examples
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
2020-08-14 05:07:53 +02:00
$(package)_config_opts += --without-xmlwf
$(package)_config_opts_linux=--with-pic
$(package)_cflags += -fno-lto
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
2020-08-14 05:07:53 +02:00
rm -rf share lib/cmake lib/*.la
endef