2018-03-18 22:01:56 +00:00
|
|
|
package=expat
|
2024-02-13 17:19:31 +00:00
|
|
|
$(package)_version=2.6.0
|
|
|
|
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$($(package)_version))/
|
2018-03-18 22:01:56 +00:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2024-02-13 17:19:31 +00:00
|
|
|
$(package)_sha256_hash=ff60e6a6b6ce570ae012dc7b73169c7fdf4b6bf08c12ed0ec6f55736b78d85ba
|
2018-03-18 22:01:56 +00:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2024-02-13 17:19:31 +00:00
|
|
|
$(package)_config_opts=--disable-shared --without-docbook --without-tests --without-examples
|
|
|
|
$(package)_config_opts+=--enable-option-checking --without-xmlwf --with-pic
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_config_opts+=--prefix=$(host_prefix)
|
2018-03-18 22:01:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2022-05-09 18:47:33 +00:00
|
|
|
$($(package)_autoconf)
|
2018-03-18 22:01:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2019-06-17 09:25:10 +00:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
2024-02-13 17:19:31 +00:00
|
|
|
rm -rf share lib/cmake lib/*.la
|
2019-06-17 09:25:10 +00:00
|
|
|
endef
|
|
|
|
|