summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/SDL_mixer.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/SDL_mixer.sh b/packages/SDL_mixer.sh
new file mode 100755
index 0000000..02b13ff
--- /dev/null
+++ b/packages/SDL_mixer.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+function package_build {
+ run_hg_switch_branch SDL-1.2
+ run_src_script ./autogen.sh
+ run_configure --disable-music-mp3 \
+ --disable-music-mod-shared --disable-music-ogg-shared --disable-music-mp3-shared --disable-music-flac-shared --disable-music-fluidsynth-shared
+
+ run_make
+ run_make_install
+}
+
+function package_get_source {
+ run_hg_clone http://hg.libsdl.org/SDL_mixer/
+}
+
+function package_use {
+ env_lib_library_path "lib"
+ env_pkg_config_path "lib/pkgconfig"
+}