Mercurial > mxe-octave
annotate src/qwt.mk @ 3256:7fb479d0241c
Update build tools for native mingw
* src/build-m4.mk: do nothing for native mingw build
* Makefile.in:
- add bison, m4 as natve mingw, and python as jit build requirements.
- remove build-bison as a mingw build dependancy
* index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 26 Sep 2013 21:18:39 -0400 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
rev | line source |
---|---|
2534 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 # Qwt - Qt widgets for technical applications | |
5 PKG := qwt | |
6 $(PKG)_CHECKSUM := 7ea84ee47339809c671a456b5363d941c45aea92 | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $($(PKG)_SUBDIR).zip | |
9 $(PKG)_WEBSITE := http://qwt.sourceforge.net/ | |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := qt |
2534 | 12 |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'http://sourceforge.net/projects/qwt/files/qwt/' | \ | |
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 # build | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
21 cd '$(1)/src' && $(MXE_QMAKE) |
2534 | 22 $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install |
23 | |
24 #build sinusplot example to test linkage | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
25 cd '$(1)/examples/sinusplot' && $(MXE_QMAKE) |
2534 | 26 $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)' |
27 | |
28 # install | |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
29 $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(HOST_BINDIR)/test-qwt.exe' |
2534 | 30 endef |