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

           

                                       




                                   

                     
                        
                     
 


                                                                





                     
#!/bin/bash

SRCURL=https://github.com/curl/curl.git

ENV_PATH="bin:lib:include"
ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_MANPATH="share/man"

BUILD_TYPE="automake"

function package_build {
    run_switch_branch

    # this need because out of source tree compilation is broken
    run_enable_same_dir_build

    run_autoreconf -i
    run_configure

    run_make
    run_make_install
}