2014-07-23 07:31:30 +02:00
|
|
|
package=libX11
|
|
|
|
$(package)_version=1.6.2
|
2019-05-19 21:58:29 +02:00
|
|
|
$(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/
|
2014-07-23 07:31:30 +02:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
|
|
$(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16
|
|
|
|
$(package)_dependencies=libxcb xtrans xextproto xproto
|
|
|
|
|
|
|
|
define $(package)_set_vars
|
2019-04-19 23:56:31 +02:00
|
|
|
# See libXext for --disable-malloc0returnsnull rationale.
|
|
|
|
$(package)_config_opts=--disable-xkb --disable-static --disable-malloc0returnsnull
|
|
|
|
$(package)_config_opts_linux=--with-pic
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
2018-07-19 07:04:00 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
|
|
|
|
endef
|
|
|
|
|
2014-07-23 07:31:30 +02:00
|
|
|
define $(package)_config_cmds
|
|
|
|
$($(package)_autoconf)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2019-04-18 19:49:11 +02:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|