Mercurial > mxe-octave
view src/qhull.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | f80eb3519e2a |
children | d862fd40cc42 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := qhull $(PKG)_IGNORE := $(PKG)_VERSION := 2020.1 $(PKG)_CHECKSUM := a938aa73a8964f81786a05fc4c98044878e09f07 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := qhull-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/qhull/$(PKG)/archive/$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := $(PKG)_CMAKE_OPTS := ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) ifeq ($(MXE_SYSTEM),mingw) $(PKG)_CMAKE_OPTS := -G "MSYS Makefiles" endif endif define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/qhull/qhull/tags' | \ $(SED) -n 's|.*releases/tag/\([0-9][^"]*\).*|\1|p' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1)/../.build' cd '$(1)/../.build' && cmake \ $($(PKG)_CMAKE_OPTS) \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DDOC_INSTALL_DIR='$(1)' \ ../$($(PKG)_SUBDIR) make -C $(1)/../.build -j $(JOBS) make -C $(1)/../.build -j 1 install DESTDIR=$(3) endef