annotate src/xau.mk @ 3743:4f58c4b4dee0

build libX11 and dependencies
author John W. Eaton <jwe@octave.org>
date Wed, 19 Nov 2014 11:12:26 -0500
parents
children 58de4f56c797
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 := xau
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 1.0.8
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 2544aa44737897832d9bf80151f30f7e0bb4f341
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := libXau-$($(PKG)_VERSION)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := libXau-$($(PKG)_VERSION).tar.gz
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := xproto
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