Mercurial > mxe-octave
annotate src/pfstools.mk @ 5835:93d20ff5d6a6
of-image: Don't use function dim_vector::to_jit.
* src/of-image-1-no-jit.patch: Add new patch.
* dist-files.mk: Add new file to list.
See: https://octave.discourse.group/t/1468
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 11 Aug 2021 14:51:14 +0200 |
parents | dc3eb553f5e9 |
children |
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 := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.8.5 |
2054
d9a318bc1e16
update packages gcc pfstools
Mark Brand <mabrand@mabrand.nl>
parents:
1880
diff
changeset
|
7 $(PKG)_CHECKSUM := dc595438f0fd8b40a05d9f9c498892363a1b3f05 |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/pfstools/files/pfstools/' | \ |
4601
dc3eb553f5e9
update UPDATE rule for sourceforge projects with version directories
John D
parents:
3480
diff
changeset
|
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1298
diff
changeset
|
16 head -1 |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
23 $(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
|
24 --disable-netpbm \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
25 --disable-openexr \ |
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
26 --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
|
27 --disable-qt \ |
e9bb636f650d
add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents:
1087
diff
changeset
|
28 --disable-jpeghdr \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
29 --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
|
30 --disable-octave \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
31 --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
|
32 --disable-matlab \ |
1298
d8875be27924
disable unused dependencies of package pfstools
Martin Lambers <marlam@marlam.de>
parents:
1120
diff
changeset
|
33 --disable-gdal |
1087
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 $(MAKE) -C '$(1)'/src/pfs -j '$(JOBS)' |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 $(MAKE) -C '$(1)'/src/pfs -j 1 install |
537a4a0a074d
new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 endef |