summaryrefslogtreecommitdiff
path: root/packages/curl.sh
blob: 853dcd4bece1a75663bb9e0859fc94e2665b0680 (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

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