Mercurial > mxe-octave
view src/qrupdate.mk @ 3453:70b110956a4e
nsis-installer: Use custom page for shortcuts and install for all users.
* binary-dist-rules.mk: copy installer-files/README.html to dist folder.
* installer-files/README.html: New file.
* makeinst-script.sh: Added custom page for Install for all users and Create shortcuts. Reassigned show readme checkbox for showing README.html at end of install. Run octave-gui as the Run program.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 25 Jan 2014 19:24:09 -0500 |
parents | 4ec93c2c211c |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := qrupdate $(PKG)_IGNORE := $(PKG)_CHECKSUM := f7403b646ace20f4a2b080b4933a1e9152fac526 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) ifeq ($(ENABLE_OPENBLAS),yes) $(PKG)_DEPS := openblas lapack else $(PKG)_DEPS := blas lapack endif ifeq ($(ENABLE_OPENBLAS),yes) $(PKG)_BLAS_OPTION := --with-blas=openblas endif ifeq ($(ENABLE_64),yes) $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" endif define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2; echo $(qrupdate_VERSION) endef define $(PKG)_BUILD mkdir '$(1)/.build' touch '$(1)/NEWS' '$(1)/AUTHORS' cd '$(1)' && autoreconf -W none chmod a+rx '$(1)/configure' cd '$(1)/.build' && '$(1)/configure' \ F77=$(MXE_F77) \ $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ $($(PKG)_BLAS_OPTION) \ $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' endef