Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / libsdl / libsdl-mixer_1.2.5.oe
1 DESCRIPTION = "Simple DirectMedia Layer mixer library."
2 SECTION = "libs"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5 DEPENDS = "virtual/libsdl"
6 LICENSE = "LGPL"
7
8 SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.gz"
9 S = "${WORKDIR}/SDL_mixer-${PV}"
10
11 inherit autotools
12
13 EXTRA_OECONF = "--disable-music-mp3"
14 # although we build smpeg... need to find out how
15 # to deal with optional dependencies
16
17 do_stage() {
18         oe_libinstall -so libSDL_mixer ${STAGING_LIBDIR}
19         ln -sf libSDL_mixer.so ${STAGING_LIBDIR}/libSDL_mixer-1.2.so
20         install -m 0644 SDL_mixer.h ${STAGING_INCDIR}/SDL/SDL_mixer.h
21 }
22