summaryrefslogblamecommitdiff
path: root/packages/SDL_mixer.sh
blob: e49c7cf41b939c09602d68efdfe43c61a8af1fe1 (plain) (tree)
1
2
3
4
5
6
7
8
9

           
          
                                      
 


                                   
                        
                             






                                                                                                                                                      
#!/bin/bash

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_mixer/

ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"

function package_build {
    run_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
}