annotate src/inputproto.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 d5a5b8e659de
children
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 := inputproto
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: 4384
diff changeset
6 $(PKG)_VERSION := 2.3.2
58de4f56c797 update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents: 4384
diff changeset
7 $(PKG)_CHECKSUM := 62b29a0c3b4ede9d129a0598cc6becf628a2158a
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: 4384
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: 4384
diff changeset
10 $(PKG)_URL := http://www.x.org/archive/individual/proto/$($(PKG)_FILE)
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4384
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 3743
diff changeset
13 define $(PKG)_UPDATE
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 3743
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 3743
diff changeset
15 echo $($(PKG)_VERSION)
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 3743
diff changeset
16 endef
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 3743
diff changeset
17
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 ifeq ($(MXE_WINDOWS_BUILD),yes)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 define $(PKG)_BUILD
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 else
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 mkdir '$(1)/.build'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 --prefix='$(HOST_PREFIX)' \
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 && $(CONFIGURE_POST_HOOK)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 endef
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 endif