2018-03-18 22:01:56 +00:00
|
|
|
package=expat
|
2023-05-15 15:18:51 +00:00
|
|
|
$(package)_version=2.5.0
|
|
|
|
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_5_0
|
2018-03-18 22:01:56 +00:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2023-05-15 15:18:51 +00:00
|
|
|
$(package)_sha256_hash=6f0e6e01f7b30025fa05c85fdad1e5d0ec7fd35d9f61b22f34998de11969ff67
|
2018-03-18 22:01:56 +00:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_config_opts=--enable-static
|
2019-06-17 09:25:10 +00:00
|
|
|
$(package)_config_opts=--disable-shared
|
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
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|
|
|
|
|