Mercurial > mxe-octave
annotate src/xau.mk @ 6213:5f64fb928091 release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 06 May 2022 19:36:10 +0200 |
parents | 58de4f56c797 |
children |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xau | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.0.8 | |
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
|
7 $(PKG)_CHECKSUM := d9512d6869e022d4e9c9d33f6d6199eda4ad096b |
3743 | 8 $(PKG)_SUBDIR := libXau-$($(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 := libXau-$($(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/lib/$($(PKG)_FILE) |
3743 | 11 $(PKG)_DEPS := xproto |
12 | |
13 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
14 define $(PKG)_BUILD | |
15 endef | |
16 else | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1)/.build' | |
19 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
22 --prefix='$(HOST_PREFIX)' \ | |
23 && $(CONFIGURE_POST_HOOK) | |
24 | |
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
26 endef | |
27 endif |