summaryrefslogtreecommitdiff
path: root/packages/libsdl/libsdl-mixer_1.2.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libsdl/libsdl-mixer_1.2.6.bb')
-rw-r--r--packages/libsdl/libsdl-mixer_1.2.6.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/libsdl/libsdl-mixer_1.2.6.bb b/packages/libsdl/libsdl-mixer_1.2.6.bb
index e69de29bb2..4a273fffed 100644
--- a/packages/libsdl/libsdl-mixer_1.2.6.bb
+++ b/packages/libsdl/libsdl-mixer_1.2.6.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Simple DirectMedia Layer mixer library."
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+DEPENDS = "virtual/libsdl"
+LICENSE = "LGPL"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.gz"
+S = "${WORKDIR}/SDL_mixer-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-music-mp3 --disable-music-libmikmod"
+# although we build smpeg... need to find out how
+# to deal with optional dependencies
+
+do_stage() {
+ oe_libinstall -so libSDL_mixer ${STAGING_LIBDIR}
+ ln -sf libSDL_mixer.so ${STAGING_LIBDIR}/libSDL_mixer-1.2.so
+ install -m 0644 SDL_mixer.h ${STAGING_INCDIR}/SDL/SDL_mixer.h
+}
+