lbrycrd/depends/packages/libX11.mk
Carl Dong aa53cb7a2f
depends: libX11: Make package headers-only
We're no longer building QT with libX11/XLib, however, libX11/XLib
headers are still required for parts of QT. In this commit we add a
minimal configure.ac for libX11/XLib that is headers-only.

This change allows us to remove all of libX11/XLib's dependencies.
2019-07-17 17:04:40 -04:00

20 lines
675 B
Makefile

package=libX11
$(package)_version=1.6.2
$(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
$(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16
$(package)_patches=configure.ac
define $(package)_preprocess_cmds
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . && \
cp -f $($(package)_patch_dir)/configure.ac .
endef
define $(package)_config_cmds
autoreconf --install --force --verbose && \
$($(package)_autoconf)
endef
define $(package)_stage_cmds
$(MAKE) -C include DESTDIR=$($(package)_staging_dir) install-x11includeHEADERS
endef