annotate src/freeimage.mk @ 4601:dc3eb553f5e9

update UPDATE rule for sourceforge projects with version directories * src/cppunit.mk, src/cunit.mk, src/expat.mk, src/freeimage.mk, src/freetype.mk, src/gnuplot.mk, src/graphicsmagick.mk, src/hunspell.mk, src/id3lib.mk, src/lcms.mk, src/libircclient.mk, src/liblo.mk, src/libmad.mk, src/libmng.mk, src/libmodplug.mk, src/libusb.mk, src/matio.mk, src/pcre.mk, src/pdcurses.mk, src/pfstools.mk, src/plotmm.mk, src/qjson.mk, src/qwt.mk, src/qwtplot3d.mk, src/sdl_pango.mk, src/sox.mk, src/tinyxml.mk, src/xmlwrapp.mk: update UPDATE rule for sourceforge projects with version directories * src/llvm.mk: update use wget not WGE so get uncompressed file)
author John D
date Mon, 29 Jan 2018 11:57:20 -0500
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2322
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.
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 PKG := freeimage
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
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 := 3.15.4
2832
a3d573500901 update package freeimage
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
7 $(PKG)_CHECKSUM := 1d30057a127b2016cf9b4f0f8f2ba92547670f96
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
8 $(PKG)_SUBDIR := FreeImage
763
0083728da7ee corrected download URL and version number style of package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 761
diff changeset
9 $(PKG)_FILE := FreeImage$(subst .,,$($(PKG)_VERSION)).zip
0083728da7ee corrected download URL and version number style of package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 761
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeimage/Source Distribution/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
12
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
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/freeimage/files/Source Distribution/' | \
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: 1112
diff changeset
16 head -1
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
17 endef
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
18
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
19 define $(PKG)_BUILD
767
a685a95bca2b use $(INSTALL) instead of install in package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 764
diff changeset
20 $(SED) -i 's,install ,$(INSTALL) ,' '$(1)'/Makefile.gnu
a685a95bca2b use $(INSTALL) instead of install in package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 764
diff changeset
21
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
22 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
23 CXX='$(MXE_CXX)' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
24 CC='$(MXE_CC)' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
25 AR='$(MXE_AR)' \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
26 INCDIR='$(HOST_INCDIR)' \
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
27 INSTALLDIR='$(HOST_LIBDIR)'
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
28
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu install \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
30 CXX='$(MXE_CXX)' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
31 CC='$(MXE_CC)' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
32 AR='$(MXE_AR)' \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
33 INCDIR='$(HOST_INCDIR)' \
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
34 INSTALLDIR='$(HOST_LIBDIR)'
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
35 endef