Mercurial > mxe-octave
comparison src/xcb-util-image.mk @ 4501:b74853c2afa1
new x11 utility packages
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 10 Oct 2017 14:45:42 -0400 |
parents | |
children | 58de4f56c797 |
comparison
equal
deleted
inserted
replaced
4500:102c3d608dd6 | 4501:b74853c2afa1 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := xcb-util-image | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.4.0 | |
7 $(PKG)_CHECKSUM := c9c9361781911a47b28f74fc6ebe0abd1273fae4 | |
8 $(PKG)_SUBDIR := xcb-util-image-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := xcb-util-image-$($(PKG)_VERSION).tar.bz2 | |
10 $(PKG)_URL := http://xorg.freedesktop.org/archive/individual/xcb/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := xcb xcb-util 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 |