2018-03-18 23:01:56 +01:00
|
|
|
package=expat
|
2021-07-07 02:51:14 +02:00
|
|
|
$(package)_version=2.4.1
|
|
|
|
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_4_1
|
2018-03-18 23:01:56 +01:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2021-07-07 02:51:14 +02:00
|
|
|
$(package)_sha256_hash=2f9b6a580b94577b150a7d5617ad4643a4301a6616ff459307df3e225bcfbf40
|
2018-03-18 23:01:56 +01:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2018-03-20 01:26:35 +01:00
|
|
|
$(package)_config_opts=--enable-static
|
2019-06-17 11:25:10 +02:00
|
|
|
$(package)_config_opts=--disable-shared
|
2018-03-20 01:26:35 +01:00
|
|
|
$(package)_config_opts+=--prefix=$(host_prefix)
|
2018-03-18 23:01:56 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2022-05-09 20:47:33 +02:00
|
|
|
$($(package)_autoconf)
|
2018-03-18 23:01:56 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2019-06-17 11:25:10 +02:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|
|
|
|
|