Mercurial > mxe-octave
annotate src/qwtplot3d.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 4d0f3a9da57e |
children | b6c7244a2f66 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2044
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
2024 | 3 |
4 PKG := qwtplot3d | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 4463fafb8420a91825e165da7a296aaabd70abea | |
7 $(PKG)_SUBDIR := $(PKG) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz | |
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc qt zlib | |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ |
2024 | 14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
15 head -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
19 cd '$(1)' && '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-qmake' |
2044
d82c8cc0bfac
package qwtplot3d: use $(MAKE) variable
Tony Theodore <tonyt@logyst.com>
parents:
2024
diff
changeset
|
20 $(MAKE) -C '$(1)' -j '$(JOBS)' |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
21 $(INSTALL) -d '$(HOST_PREFIX)/lib' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
22 $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(HOST_PREFIX)/lib/' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
23 $(INSTALL) -d '$(HOST_PREFIX)/include' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
24 $(INSTALL) -d '$(HOST_PREFIX)/include/qwtplot3d' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
25 $(INSTALL) -m644 '$(1)/include'/*.h '$(HOST_PREFIX)/include/qwtplot3d/' |
2024 | 26 endef |