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