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


                        
                            








                             
                                                 









                                       
#!/bin/bash

function package_build {
    run_switch_branch master

    run_autoreconf -i
    run_configure

    run_make
    run_make_install
}

function package_get_source {
    run_clone git://git.code.sf.net/p/libpng/code
}

function package_use {
    env_path "bin"
    env_path "lib"
    env_path "include"
    env_man "share/man"
    env_lib_library_path "lib"
    env_pkg_config_path "lib/pkgconfig"
}