Mercurial > mxe-octave
comparison src/xtrans.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 |
comparison
equal
deleted
inserted
replaced
3742:14869a85249d | 3743:4f58c4b4dee0 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := xtrans | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.3.5 | |
7 $(PKG)_CHECKSUM := 0e94776e31fd29e323edc7f2a8ee10794d63c24c | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE) | |
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 | |
27 mv '$(3)/$(HOST_PREFIX)/share/pkgconfig/xtrans.pc' '$(HOST_PREFIX)/lib/pkgconfig/xtrans.pc' | |
28 endef | |
29 endif |