mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
28 lines
691 B
Makefile
28 lines
691 B
Makefile
package=expat
|
|
$(package)_version=2.5.0
|
|
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_5_0
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
$(package)_sha256_hash=6f0e6e01f7b30025fa05c85fdad1e5d0ec7fd35d9f61b22f34998de11969ff67
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--enable-static
|
|
$(package)_config_opts=--disable-shared
|
|
$(package)_config_opts+=--prefix=$(host_prefix)
|
|
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
|
|
rm lib/*.la
|
|
endef
|
|
|