Mercurial > mxe-octave
annotate src/qwt.mk @ 4601:dc3eb553f5e9
update UPDATE rule for sourceforge projects with version directories
* src/cppunit.mk, src/cunit.mk, src/expat.mk, src/freeimage.mk, src/freetype.mk,
src/gnuplot.mk, src/graphicsmagick.mk, src/hunspell.mk, src/id3lib.mk, src/lcms.mk,
src/libircclient.mk, src/liblo.mk, src/libmad.mk, src/libmng.mk, src/libmodplug.mk,
src/libusb.mk, src/matio.mk, src/pcre.mk, src/pdcurses.mk, src/pfstools.mk,
src/plotmm.mk, src/qjson.mk, src/qwt.mk, src/qwtplot3d.mk, src/sdl_pango.mk,
src/sox.mk, src/tinyxml.mk, src/xmlwrapp.mk:
update UPDATE rule for sourceforge projects with version directories
* src/llvm.mk: update use wget not WGE so get uncompressed file)
author | John D |
---|---|
date | Mon, 29 Jan 2018 11:57:20 -0500 |
parents | 13be64f9f16d |
children |
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/' | \ | |
4601
dc3eb553f5e9
update UPDATE rule for sourceforge projects with version directories
John D
parents:
3480
diff
changeset
|
16 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ |
2534 | 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 |