Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/libX11.mk
package=libX11 | package=libX11 | ||||
$(package)_version=1.6.2 | $(package)_version=1.6.2 | ||||
$(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/ | $(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/ | ||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 | ||||
$(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16 | $(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16 | ||||
$(package)_dependencies=libxcb xtrans xextproto xproto | $(package)_dependencies=libxcb xtrans xextproto xproto | ||||
define $(package)_set_vars | define $(package)_set_vars | ||||
$(package)_config_opts=--disable-xkb --disable-static | # See libXext for --disable-malloc0returnsnull rationale. | ||||
$(package)_config_opts=--disable-xkb --disable-static --disable-malloc0returnsnull | |||||
$(package)_config_opts_linux=--with-pic | $(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 |