Mercurial > mxe-octave
annotate src/qwtplot3d.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | d82c8cc0bfac |
children | f48c5b085a38 |
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. |
2024 | 2 # See doc/index.html for further information. |
3 | |
4 PKG := qwtplot3d | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 0.2.7 | |
7 $(PKG)_CHECKSUM := 4463fafb8420a91825e165da7a296aaabd70abea | |
8 $(PKG)_SUBDIR := $(PKG) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz | |
10 $(PKG)_WEBSITE := http://$(PKG).sourceforge.net/ | |
11 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
12 $(PKG)_DEPS := gcc qt zlib | |
13 | |
14 define $(PKG)_UPDATE | |
15 wget -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ | |
16 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && '$(PREFIX)/bin/$(TARGET)-qmake' | |
2044
d82c8cc0bfac
package qwtplot3d: use $(MAKE) variable
Tony Theodore <tonyt@logyst.com>
parents:
2024
diff
changeset
|
23 $(MAKE) -C '$(1)' -j '$(JOBS)' |
2024 | 24 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' |
25 $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(PREFIX)/$(TARGET)/lib/' | |
26 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' | |
27 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/qwtplot3d' | |
28 $(INSTALL) -m644 '$(1)/include'/*.h '$(PREFIX)/$(TARGET)/include/qwtplot3d/' | |
29 endef | |
30 |