Mercurial > mxe-octave
annotate src/qwt.mk @ 3988:5b8ff612595a
of-nan: update to v2.8.1
* src/of-nan.mk: update version, checksum
* src/build_packages.m: update nan version
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 07 Jul 2015 20:16:48 -0400 |
parents | 13be64f9f16d |
children | dc3eb553f5e9 |
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 | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 6.0.1 |
2534 | 7 $(PKG)_CHECKSUM := 7ea84ee47339809c671a456b5363d941c45aea92 |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).zip | |
10 $(PKG)_WEBSITE := http://qwt.sourceforge.net/ | |
11 $(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
|
12 $(PKG)_DEPS := qt |
2534 | 13 |
14 define $(PKG)_UPDATE | |
15 $(WGET) -q -O- 'http://sourceforge.net/projects/qwt/files/qwt/' | \ | |
16 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 # build | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
22 cd '$(1)/src' && $(MXE_QMAKE) |
2534 | 23 $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install |
24 | |
25 #build sinusplot example to test linkage | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
26 cd '$(1)/examples/sinusplot' && $(MXE_QMAKE) |
2534 | 27 $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)' |
28 | |
29 # 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
|
30 $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(HOST_BINDIR)/test-qwt.exe' |
2534 | 31 endef |