annotate src/pfstools.mk @ 1120:405738cf5761

fixed sourceforge URLs in UPDATE macros
author Mark Brand <mabrand@mabrand.nl>
date Thu, 09 Sep 2010 21:24:32 +0200
parents e9bb636f650d
children d8875be27924
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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)
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://pfstools.sourceforge.net/
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)
1091
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
13 $(PKG)_DEPS := gcc openexr tiff imagemagick
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
1120
405738cf5761 fixed sourceforge URLs in UPDATE macros
Mark Brand <mabrand@mabrand.nl>
parents: 1091
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pfstools/files/) | \
1087
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*pfstools-\([0-9][^>]*\)\.tar.*,\1,p' | \
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 tail -1
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 \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
27 --enable-openexr \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
28 --enable-tiff \
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 \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
31 --enable-imagemagick \
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 \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
33 --enable-opengl \
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 \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
35 --disable-gdal \
e9bb636f650d add missing depedencies and explicitly --enable/disable all depedencies of package pfstools
Volker Grabsch <vog@notjusthosting.com>
parents: 1087
diff changeset
36 LIBS='-ljpeg -lz'
1087
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 $(MAKE) -C '$(1)'/src/pfs -j '$(JOBS)'
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 $(MAKE) -C '$(1)'/src/pfs -j 1 install
537a4a0a074d new package: pfstools (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 endef