summaryrefslogblamecommitdiff
path: root/packages/SDL_image.sh
blob: 88874b4e29b18c7ede30bf59e8f7e0376b4df102 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                        

                                






                                                                                                      
                                                





                                       
#!/bin/bash

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

function package_get_source {
    run_hg_clone http://hg.libsdl.org/SDL_image/
}

function package_use {
    env_lib_library_path "lib"
    env_pkg_config_path "lib/pkgconfig"
}