annotate src/sdl_ttf.mk @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents 5ef49fb3299d
children 13be64f9f16d
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: 2209
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 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
5 $(PKG)_IGNORE :=
2209
a8a9176ef893 update package sdl_ttf
Mark Brand <mabrand@mabrand.nl>
parents: 1277
diff changeset
6 $(PKG)_CHECKSUM := 0ccf7c70e26b7801d83f4847766e09f09db15cc6
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_SUBDIR := SDL_ttf-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(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
9 $(PKG)_URL := http://www.libsdl.org/projects/SDL_ttf/release/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
10 $(PKG)_DEPS := sdl freetype
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://hg.libsdl.org/SDL_ttf/tags' | \
1277
104c7045f292 improved update scripts of packages: glib librsvg sdl_sound sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 1152
diff changeset
14 $(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
15 head -1
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
21 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
22 --prefix='$(HOST_PREFIX)' \
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --with-sdl-prefix='$(HOST_PREFIX)' \
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-sdltest \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
25 --with-freetype-prefix='$(HOST_PREFIX)'
185
964c940fc735 new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(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
27 endef