annotate src/sdl_ttf.mk @ 1151:29cfc5b72cd9

package sdl_ttf: fixed upgrade macro
author Mark Brand <mabrand@mabrand.nl>
date Fri, 17 Sep 2010 09:00:36 +0200
parents 336819b3c4cc
children 23b4af02f7ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 525
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: 306
diff changeset
3
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # SDL_ttf
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := sdl_ttf
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
1150
336819b3c4cc Backed out changeset c77470c6f845
Mark Brand <mabrand@mabrand.nl>
parents: 1149
diff changeset
7 $(PKG)_VERSION := 2.0.10
336819b3c4cc Backed out changeset c77470c6f845
Mark Brand <mabrand@mabrand.nl>
parents: 1149
diff changeset
8 $(PKG)_CHECKSUM := 98f6518ec71d94b8ad303a197445e0991850b887
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := SDL_ttf-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := SDL_ttf-$($(PKG)_VERSION).tar.gz
525
d82ed3bf661f use consequently "www.libsdl.org" instead of "libsdl.org"
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
11 $(PKG)_WEBSITE := http://www.libsdl.org/projects/SDL_ttf/
d82ed3bf661f use consequently "www.libsdl.org" instead of "libsdl.org"
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
12 $(PKG)_URL := http://www.libsdl.org/projects/SDL_ttf/release/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc sdl freetype
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1151
29cfc5b72cd9 package sdl_ttf: fixed upgrade macro
Mark Brand <mabrand@mabrand.nl>
parents: 1150
diff changeset
16 wget -q -O- http://hg.libsdl.org/SDL_ttf/tags | \
29cfc5b72cd9 package sdl_ttf: fixed upgrade macro
Mark Brand <mabrand@mabrand.nl>
parents: 1150
diff changeset
17 grep "release-" | \
29cfc5b72cd9 package sdl_ttf: fixed upgrade macro
Mark Brand <mabrand@mabrand.nl>
parents: 1150
diff changeset
18 $(SED) -n 's,.*release-\([0-9.]*\)<.*,\1,p' | \
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-sdltest \
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-freetype-prefix='$(PREFIX)/$(TARGET)'
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef