annotate src/freetype.mk @ 1033:dd28c487a6b1

improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 04 Jun 2010 23:05:41 +0200
parents 9f46c7b491c9
children e878941387e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 522
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # freetype
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
5 PKG := freetype
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
6 $(PKG)_IGNORE :=
741
9f46c7b491c9 update version of packages curl, freetype, gdal, glib, gtk and pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
7 $(PKG)_VERSION := 2.3.12
9f46c7b491c9 update version of packages curl, freetype, gdal, glib, gtk and pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
8 $(PKG)_CHECKSUM := ebf0438429c0bedd310059326d91646c3c91016b
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
9 $(PKG)_SUBDIR := freetype-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
10 $(PKG)_FILE := freetype-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
11 $(PKG)_WEBSITE := http://freetype.sourceforge.net/
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/freetype/freetype2/$($(PKG)_VERSION)/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
13 $(PKG)_DEPS := gcc zlib
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1033
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 741
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/freetype/files/freetype2/?sort=date&sortdir=desc' | \
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 741
diff changeset
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 741
diff changeset
18 head -1
152
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && GNUMAKE=$(MAKE) ./configure \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)'
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install
adbea260efc3 translated package: freetype
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef