Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/zlib.mk
Show All 12 Lines | |||||
$(package)_build_opts_darwin+=ARFLAGS="-o" | $(package)_build_opts_darwin+=ARFLAGS="-o" | ||||
endef | endef | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
./configure --static --prefix=$(host_prefix) | ./configure --static --prefix=$(host_prefix) | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
$(MAKE) $($(package)_build_opts) libz.a | $(MAKE) -j$(JOBS) $($(package)_build_opts) libz.a | ||||
endef | endef | ||||
define $(package)_stage_cmds | define $(package)_stage_cmds | ||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install $($(package)_build_opts) | $(MAKE) DESTDIR=$($(package)_staging_dir) install $($(package)_build_opts) | ||||
endef | endef | ||||