annotate src/sdl_mixer.mk @ 714:29f1ba4559ae

point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 08 Feb 2010 00:58:06 +0100
parents dab071eac9c0
children 9232c79dac70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
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
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # SDL_mixer
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := sdl_mixer
566
2758ed1991a2 remove IGNORE lines which are no longer needed
Volker Grabsch <vog@notjusthosting.com>
parents: 535
diff changeset
6 $(PKG)_IGNORE :=
569
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 566
diff changeset
7 $(PKG)_VERSION := 1.2.11
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 566
diff changeset
8 $(PKG)_CHECKSUM := ef5d45160babeb51eafa7e4019cec38324ee1a5d
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := SDL_mixer-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := SDL_mixer-$($(PKG)_VERSION).tar.gz
525
d82ed3bf661f use consequently "www.libsdl.org" instead of "libsdl.org"
Volker Grabsch <vog@notjusthosting.com>
parents: 516
diff changeset
11 $(PKG)_WEBSITE := http://www.libsdl.org/projects/SDL_mixer/
d82ed3bf661f use consequently "www.libsdl.org" instead of "libsdl.org"
Volker Grabsch <vog@notjusthosting.com>
parents: 516
diff changeset
12 $(PKG)_URL := http://www.libsdl.org/projects/SDL_mixer/release/$($(PKG)_FILE)
516
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
13 $(PKG)_DEPS := gcc sdl libmikmod ogg vorbis smpeg
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
499
abc655cb4694 improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
16 wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_mixer/?sortby=date' | \
abc655cb4694 improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
17 grep '<a name="' | \
abc655cb4694 improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
18 $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 $(SED) 's,for path in /usr/local; do,for path in; do,' -i '$(1)/configure'
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 cd '$(1)' && ./configure \
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --host='$(TARGET)' \
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)' \
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-sdltest \
516
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
30 --enable-music-mod \
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --enable-music-ogg \
516
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
32 --disable-music-flac \
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
33 --enable-music-mp3 \
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
34 --disable-music-mod-shared \
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --disable-music-ogg-shared \
516
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
36 --disable-music-flac-shared \
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
37 --disable-music-mp3-shared \
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --disable-smpegtest \
516
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
39 --with-smpeg-prefix='$(PREFIX)/$(TARGET)' \
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
40 LIBMIKMOD_CONFIG='$(PREFIX)/$(TARGET)/bin/libmikmod-config' \
7454cb5a253e update version of packages atk, gtk, sdl, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 499
diff changeset
41 LIBS='-lvorbis -logg'
162
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
4377bbba7f64 translated package: sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 endef