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

           
          
                                      
                        
 


                                   


                                                                                                                                                   
                        
                     
                               
                 



                    
#!/bin/bash

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_mixer/
DEFAULT_BRANCH="SDL-1.2"

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

CONFIGURE_FLAGS="--disable-music-mp3 \
    --disable-music-mod-shared --disable-music-ogg-shared --disable-music-mp3-shared --disable-music-flac-shared --disable-music-fluidsynth-shared"

function package_build {
    run_switch_branch
    run_src_script ./autogen.sh
    run_configure

    run_make
    run_make_install
}