Mercurial > mxe-octave
view src/xcb-util.mk @ 4540:2a8b5cf2085c
allow stable-octave to build from hg
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 21 Nov 2017 16:45:20 -0500 |
parents | 58de4f56c797 |
children | cfb1eb9664dd |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xcb-util $(PKG)_IGNORE := $(PKG)_VERSION := 0.4.0 $(PKG)_CHECKSUM := 7f2e9b7efcc2c34eb1d6ae312c3d73b075832e46 $(PKG)_SUBDIR := xcb-util-$($(PKG)_VERSION) $(PKG)_FILE := xcb-util-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) $(PKG)_DEPS := ifeq ($(MXE_WINDOWS_BUILD),yes) define $(PKG)_BUILD endef else define $(PKG)_BUILD mkdir '$(1)/.build' cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' endef endif