annotate src/freeimage.mk @ 2365:b5321bdec505

Move full package names from src/*.mk into package list (index.html)
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 21:41:44 +0200
parents 99516e73b368
children 4d0f3a9da57e
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 :=
2322
742861a24bd2 update package freeimage
Mark Brand <mabrand@mabrand.nl>
parents: 2250
diff changeset
6 $(PKG)_CHECKSUM := 083ef40a1734e33cc34c55ba87019bf5cce9ca4a
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
7 $(PKG)_SUBDIR := FreeImage
763
0083728da7ee corrected download URL and version number style of package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 761
diff changeset
8 $(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
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freeimage/Source Distribution/$($(PKG)_VERSION)/$($(PKG)_FILE)
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
10 $(PKG)_DEPS := gcc
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
11
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
12 define $(PKG)_UPDATE
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1112
diff changeset
13 wget -q -O- 'http://sourceforge.net/projects/freeimage/files/Source Distribution/' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1112
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: 1112
diff changeset
15 head -1
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
16 endef
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
17
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
18 define $(PKG)_BUILD
767
a685a95bca2b use $(INSTALL) instead of install in package freeimage
Volker Grabsch <vog@notjusthosting.com>
parents: 764
diff changeset
19 $(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
20
761
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
21 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
22 CXX='$(TARGET)-g++' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
23 CC='$(TARGET)-gcc' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
24 AR='$(TARGET)-ar' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
25 INCDIR='$(PREFIX)/$(TARGET)/include' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
26 INSTALLDIR='$(PREFIX)/$(TARGET)/lib'
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
27
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu install \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
29 CXX='$(TARGET)-g++' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
30 CC='$(TARGET)-gcc' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
31 AR='$(TARGET)-ar' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
32 INCDIR='$(PREFIX)/$(TARGET)/include' \
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
33 INSTALLDIR='$(PREFIX)/$(TARGET)/lib'
a15ef607412d new package: freeimage
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
34 endef