Mercurial > mxe-octave
annotate src/x11.mk @ 4496:903796b2fcb6
fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 06 Oct 2017 16:22:23 -0400 |
parents | 7bf3a5b0f0fa |
children | 58de4f56c797 |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := x11 | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.6.2 | |
7 $(PKG)_CHECKSUM := 351ae5bad88bb2b54b7f749f6096b518a3b13b29 | |
8 $(PKG)_SUBDIR := libX11-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := libX11-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE) | |
4496
903796b2fcb6
fltk, gl2ps, xcursor, x11, qtbase: Fix dependencies.
John W. Eaton <jwe@octave.org>
parents:
4491
diff
changeset
|
11 $(PKG)_DEPS := inputproto kbproto xcb xextproto xproto xtrans |
3743 | 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 |