annotate src/xcb-proto.mk @ 6234:97c5f8da5036 release

* src/librsb.mk: update to 1.2.0.11
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 27 May 2022 12:24:32 +0200
parents f062bdb4f0a3
children 2a1e565f5801
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := xcb-proto
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5018
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
6 $(PKG)_VERSION := 1.13
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
7 $(PKG)_CHECKSUM := f7fa35ab59af18cecadbe83fe705281dcfd82ffd
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
4519
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 3743
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(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: 3743
diff changeset
10 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE)
5901
f062bdb4f0a3 Rename build-python3 to build-python.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5834
diff changeset
11 $(PKG)_DEPS := build-python
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
5018
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
13
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
14 define $(PKG)_UPDATE
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
15 $(WGET) -q -O- 'https://www.x.org/archive/individual/xcb/' | \
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
16 $(SED) -n 's,.*<a href="xcb-proto-\([0-9\.]*\)\.tar.gz".*,\1,p' | \
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
17 $(SORT) -V |
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
18 tail -1
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
19 endef
f3b106caf51c * src/xcb-proto.mk: update to v1.13
John Donoghue
parents: 4519
diff changeset
20
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 mkdir '$(1)/.build'
5901
f062bdb4f0a3 Rename build-python3 to build-python.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5834
diff changeset
27 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) PYTHON=$(MXE_PYTHON) '$(1)/configure' \
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 endif