lbrycrd/depends/packages/expat.mk

27 lines
666 B
Makefile
Raw Normal View History

package=expat
2018-11-30 01:20:10 +01:00
$(package)_version=2.2.6
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_6/
2016-05-12 13:44:45 +02:00
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
2018-11-30 01:20:10 +01:00
$(package)_sha256_hash=17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2
define $(package)_set_vars
$(package)_config_opts=--disable-shared --without-docbook
$(package)_config_opts_linux=--with-pic
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