Mercurial > mxe-octave
annotate src/xcb.mk @ 5339:25a483af6aa7
* src/build-cmake.mk, src/cmake.mk: update to v3.16.5
author | John Donoghue |
---|---|
date | Thu, 05 Mar 2020 12:55:24 -0500 |
parents | aedd254dd2e6 |
children | 0988117f1a6e |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xcb | |
5 $(PKG)_IGNORE := | |
5017 | 6 $(PKG)_VERSION := 1.13.1 |
7 $(PKG)_CHECKSUM := 2ab17a1bb2a44e0a9cb0b26bcf899689ba1bbb3b | |
3743 | 8 $(PKG)_SUBDIR := libxcb-$($(PKG)_VERSION) |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
4501
diff
changeset
|
9 $(PKG)_FILE := libxcb-$($(PKG)_VERSION).tar.bz2 |
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
4501
diff
changeset
|
10 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) |
4501 | 11 $(PKG)_DEPS := pthread-stubs util-macros xau xcb-proto |
3743 | 12 |
5017 | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'https://www.x.org/archive/individual/xcb/' | \ | |
15 $(SED) -n 's,.*<a href="libxcb-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ | |
16 $(SORT) -V | | |
17 tail -1 | |
18 endef | |
19 | |
3743 | 20 ifeq ($(MXE_WINDOWS_BUILD),yes) |
21 define $(PKG)_BUILD | |
22 endef | |
23 else | |
24 define $(PKG)_BUILD | |
25 mkdir '$(1)/.build' | |
26 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
29 --prefix='$(HOST_PREFIX)' \ | |
30 && $(CONFIGURE_POST_HOOK) | |
31 | |
32 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
33 endef | |
34 endif |