Mercurial > mxe-octave
annotate src/sdl_ttf.mk @ 3705:d30ced3f489e
libpng: update to 1.6.13
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 02 Sep 2014 11:45:16 -0400 |
parents | 13be64f9f16d |
children | 3c91c69aad7e |
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 := |
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 := 2.0.11 |
2209 | 7 $(PKG)_CHECKSUM := 0ccf7c70e26b7801d83f4847766e09f09db15cc6 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_SUBDIR := SDL_ttf-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(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
|
10 $(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
|
11 $(PKG)_DEPS := sdl freetype |
185
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
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://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
|
15 $(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
|
16 head -1 |
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(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
|
22 $(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
|
23 --prefix='$(HOST_PREFIX)' \ |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
24 --with-sdl-prefix='$(HOST_PREFIX)' \ |
185
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-sdltest \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --with-freetype-prefix='$(HOST_PREFIX)' |
185
964c940fc735
new package: sdl_ttf (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 $(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
|
28 endef |