blob: 463ca3c439d594ccf39ea7ab77ee47e4633f4bfa (
plain) (
tree)
|
|
#!/bin/bash
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
}
function package_get_source {
run_clone https://github.com/curl/curl.git
}
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"
}
|