Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/expat.mk
package=expat | package=expat | ||||
$(package)_version=2.2.6 | $(package)_version=2.2.6 | ||||
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_6/ | $(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_6/ | ||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 | ||||
$(package)_sha256_hash=17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2 | $(package)_sha256_hash=17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2 | ||||
define $(package)_set_vars | define $(package)_set_vars | ||||
$(package)_config_opts=--disable-static --without-docbook | $(package)_config_opts=--disable-shared --without-docbook | ||||
$(package)_config_opts_linux=--with-pic | |||||
endef | endef | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
$($(package)_autoconf) | $($(package)_autoconf) | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
$(MAKE) -j$(JOBS) | $(MAKE) -j$(JOBS) | ||||
endef | endef | ||||
define $(package)_stage_cmds | define $(package)_stage_cmds | ||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | $(MAKE) DESTDIR=$($(package)_staging_dir) install | ||||
endef | endef | ||||
define $(package)_postprocess_cmds | |||||
rm lib/*.la | |||||
endef |