Mercurial > mxe-octave
annotate src/pfstools.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 47558e958113 |
children | 100e618349f7 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2054
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. |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := pfstools |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
2054
d9a318bc1e16
update packages gcc pfstools
Mark Brand <mabrand@mabrand.nl>
parents:
1880
diff
changeset
|
6 $(PKG)_CHECKSUM := dc595438f0fd8b40a05d9f9c498892363a1b3f05 |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
10 $(PKG)_DEPS := gcc |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
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/pfstools/files/pfstools/' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
15 head -1 |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 cd '$(1)' && ./configure \ |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 --host='$(TARGET)' \ |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --prefix='$(PREFIX)/$(TARGET)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
22 $(ENABLE_SHARED_OR_STATIC) \ |
1091
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
23 --disable-netpbm \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
24 --disable-openexr \ |
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
25 --disable-tiff \ |
1091
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
26 --disable-qt \ |
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
27 --disable-jpeghdr \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
28 --disable-imagemagick \ |
1091
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
29 --disable-octave \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
30 --disable-opengl \ |
1091
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
31 --disable-matlab \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
32 --disable-gdal |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 $(MAKE) -C '$(1)'/src/pfs -j '$(JOBS)' |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 $(MAKE) -C '$(1)'/src/pfs -j 1 install |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 endef |