diff options
Diffstat (limited to 'packages/curl.sh')
-rwxr-xr-x | packages/curl.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/curl.sh b/packages/curl.sh new file mode 100755 index 0000000..1d6385d --- /dev/null +++ b/packages/curl.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +function package_build { + run_git_switch_branch master + + run_autoreconf -i + run_configure + + run_make + run_make_install +} + +function package_get_source { + run_git_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" +} |