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

           
          
                                      
 


                                   
                        
                             
                               




                                                                                                      
#!/bin/bash

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

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-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared

    run_make
    run_make_install
}