Mercurial > mxe-octave
view src/xcb.mk @ 5653:d52c26fc0820
Qhull: Build and install non-reentrant libqhull (bug #60016).
* src/qhull.mk: The non-reentrant Qhull library `libqhull` is no longer built
with the default build target. Build and install it manually.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 06 Feb 2021 16:51:10 +0100 |
parents | aedd254dd2e6 |
children | 0988117f1a6e |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xcb $(PKG)_IGNORE := $(PKG)_VERSION := 1.13.1 $(PKG)_CHECKSUM := 2ab17a1bb2a44e0a9cb0b26bcf899689ba1bbb3b $(PKG)_SUBDIR := libxcb-$($(PKG)_VERSION) $(PKG)_FILE := libxcb-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) $(PKG)_DEPS := pthread-stubs util-macros xau xcb-proto define $(PKG)_UPDATE $(WGET) -q -O- 'https://www.x.org/archive/individual/xcb/' | \ $(SED) -n 's,.*<a href="libxcb-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ $(SORT) -V | tail -1 endef 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