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

           
          
                                      
                        
 


                                   
                        
                     
                               




                                                                                                      
#!/bin/bash

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

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

function package_build {
    run_switch_branch
    run_src_script ./autogen.sh
    run_configure --disable-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared

    run_make
    run_make_install
}