This document describes the method of constructing scripts of download_installation_scripts.sh
for IMPORT command with a concrete example.
The role of download_installation_scripts.sh
file is to download the installation files (common_fn.sh
, common_fn_envDependents.sh
, download_archive.sh
, download_src.sh
, init_path.sh
, install_archive.sh
, install_src.sh
, is_installed.sh
and packages_cpm.txt
) to the CPM_CACHE_DIR
directory. The CPM_CACHE_DIR
which is a environment variable is provided by cpm/exe.
- Copy download_installation_scripts.sh and edit for your installation library
- Upload the
download_installation_scripts.sh
file to a location where the cpm/exe can download usingwget
command
- CPM_libExample_to_IMPORT is a sample library to show the behavior of the IMPORT command.