annotate src/qwtplot3d.mk @ 2024:26f8c8564952

new package qwtplot3d
author Gareth Coco <garethcoco@gmail.com>
date Thu, 20 Oct 2011 21:57:38 +0200
parents
children d82c8cc0bfac
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2024
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
3
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
4 PKG := qwtplot3d
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
6 $(PKG)_VERSION := 0.2.7
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 4463fafb8420a91825e165da7a296aaabd70abea
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
10 $(PKG)_WEBSITE := http://$(PKG).sourceforge.net/
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
11 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
12 $(PKG)_DEPS := gcc qt zlib
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
13
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
15 wget -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
16 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
17 head -1
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
18 endef
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
19
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
20
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
22 cd '$(1)' && '$(PREFIX)/bin/$(TARGET)-qmake'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
23 cd '$(1)' && make -C '$(1)' -j '$(JOBS)'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
24 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
25 $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(PREFIX)/$(TARGET)/lib/'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
26 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
27 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/qwtplot3d'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
28 $(INSTALL) -m644 '$(1)/include'/*.h '$(PREFIX)/$(TARGET)/include/qwtplot3d/'
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
29 endef
26f8c8564952 new package qwtplot3d
Gareth Coco <garethcoco@gmail.com>
parents:
diff changeset
30