annotate src/xcb.mk @ 4519:58de4f56c797

update most X11 packages to latest version and to use tar.bz2 files
author John W. Eaton <jwe@octave.org>
date Thu, 19 Oct 2017 17:11:27 -0400
parents b74853c2afa1
children aedd254dd2e6
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
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
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
6 $(PKG)_VERSION := 1.12
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 4501
diff changeset
7 $(PKG)_CHECKSUM := 2f03490d1c75c8a3f902f74b717af6501773926a
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
b74853c2afa1 new x11 utility packages
John W. Eaton <jwe@octave.org>
parents: 3743
diff changeset
11 $(PKG)_DEPS := pthread-stubs util-macros xau xcb-proto
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 else
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endif