2018-03-19 00:01:56 +02:00
|
|
|
package=expat
|
2018-03-20 02:26:35 +02:00
|
|
|
$(package)_version=2.2.4
|
2020-05-03 23:37:58 +03:00
|
|
|
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_4
|
2018-03-19 00:01:56 +02:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2018-03-20 02:26:35 +02:00
|
|
|
$(package)_sha256_hash=03ad85db965f8ab2d27328abcf0bc5571af6ec0a414874b2066ee3fdd372019e
|
2018-03-19 00:01:56 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2018-03-20 02:26:35 +02:00
|
|
|
$(package)_config_opts=--enable-static
|
2019-06-17 12:25:10 +03:00
|
|
|
$(package)_config_opts=--disable-shared
|
2018-03-20 02:26:35 +02:00
|
|
|
$(package)_config_opts+=--prefix=$(host_prefix)
|
2018-03-19 00:01:56 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2018-03-20 02:26:35 +02:00
|
|
|
$($(package)_autoconf) $($(package)_config_opts)
|
2018-03-19 00:01:56 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2019-06-17 12:25:10 +03:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|
|
|
|
|