Mercurial > mxe-octave
view src/lapack.mk @ 3003:7d692ab680ab
Change makefile download and build rules to log to symbolic link file instead of log/timestamp/file.
* Makefile: update $(PREFIX)/installed/$(1): rule to output build and download output to symbolic file.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 29 May 2013 20:54:04 -0400 |
parents | 4f9b72cf7ee7 |
children | ec6f91539788 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := lapack $(PKG)_CHECKSUM := 93a6e4e6639aaf00571d53a580ddc415416e868b $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz $(PKG)_URL := http://www.netlib.org/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.eq.uc.pt/pub/software/math/netlib/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.netlib.org/lapack/' | \ $(SED) -n 's_.*>LAPACK, version \([0-9]\.[0-9]\.[0-9]\).*_\1_ip' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && cmake \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DCMAKE_AR='$(MXE_AR)' \ -DCMAKE_RANLIB='$(MXE_RANLIB)' \ . $(MAKE) -C '$(1)/SRC' -j '$(JOBS)' install endef