Mercurial > mxe-octave
annotate src/xcb-util-wm.mk @ 4676:3edbea625ba8
build-cmake: depend on build-gcc if not using system GCC
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Apr 2018 13:51:05 -0400 |
parents | 58de4f56c797 |
children | cfb1eb9664dd |
rev | line source |
---|---|
4501 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xcb-util-wm | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.4.1 | |
7 $(PKG)_CHECKSUM := 7006c52b961c123355320bfc30477cdf90c8bbb7 | |
8 $(PKG)_SUBDIR := xcb-util-wm-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := xcb-util-wm-$($(PKG)_VERSION).tar.bz2 | |
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
|
10 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) |
4501 | 11 $(PKG)_DEPS := |
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 |