aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/libX11.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/depends/packages/libX11.mk')
-rw-r--r--contrib/depends/packages/libX11.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/depends/packages/libX11.mk b/contrib/depends/packages/libX11.mk
new file mode 100644
index 000000000..178d592ee
--- /dev/null
+++ b/contrib/depends/packages/libX11.mk
@@ -0,0 +1,23 @@
+package=libX11
+$(package)_version=1.6.2
+$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
+$(package)_file_name=$(package)-$($(package)_version).tar.bz2
+$(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16
+$(package)_dependencies=libxcb xtrans xextproto xproto
+
+define $(package)_set_vars
+$(package)_config_opts=--disable-xkb --disable-static
+$(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