Mercurial > mxe-octave
annotate src/pfstools.mk @ 1499:9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 12 Dec 2010 01:16:13 +0100 |
parents | 2726fbef533c |
children | ad05667dbb18 |
rev | line source |
---|---|
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # This file is part of mingw-cross-env. |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # See doc/index.html for further information. |
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 # pfstools |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := pfstools |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_VERSION := 1.8.2 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_CHECKSUM := 6109587b0f8e53d1d963e9e02f7298bf0d197d5d |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
11 $(PKG)_WEBSITE := http://$(PKG).sourceforge.net/ |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(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
|
13 $(PKG)_DEPS := gcc |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
16 wget -q -O- 'http://sourceforge.net/projects/pfstools/files/pfstools/' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
17 $(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
|
18 head -1 |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --host='$(TARGET)' \ |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --prefix='$(PREFIX)/$(TARGET)' \ |
1091
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
25 --disable-shared \ |
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
26 --disable-netpbm \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
27 --disable-openexr \ |
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
28 --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
|
29 --disable-qt \ |
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
30 --disable-jpeghdr \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
31 --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
|
32 --disable-octave \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
33 --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
|
34 --disable-matlab \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
35 --disable-gdal |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 $(MAKE) -C '$(1)'/src/pfs -j '$(JOBS)' |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 $(MAKE) -C '$(1)'/src/pfs -j 1 install |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 endef |