summaryrefslogtreecommitdiff
path: root/packages/curl.sh
blob: 6e3496c56636e00bf3a4d172bd6a5114edfbde2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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"

function package_build {
    run_switch_branch master

    # 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
}