Mercurial > mxe-octave
view src/eigen.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 | 9e5a68f8f082 |
children | d862fd40cc42 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := eigen $(PKG)_IGNORE := $(PKG)_VERSION := 3.3.7 $(PKG)_CHECKSUM := f13a31c7ec3b87cf6e58b6fb05aa8b887091b71c $(PKG)_SUBDIR := $(PKG)-$(PKG)-323c052e1731 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz $(PKG)_URL := https://gitlab.com/libeigen/$(PKG)/-/archive/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \ $(GREP) 'eigen/get/' | \ $(SED) -n 's,.*eigen/get/\(3[^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && \ cmake -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' '$(1)' $(MAKE) -C '$(1).build' -j '$(JOBS)' DESTDIR='$(3)' install endef