Package Installer - mdibl/package_downloads GitHub Wiki
This Script is called by the package manager main script to build and install a new package.
Usage: ./install_package TOOL_NAME
Where TOOL_NAME is the name of the base directory for this package as defined in the variable SHORT_NAME in the tool config file
Example : ./install_package bamtools
Different versions of bamtools will be installed under EXTERNAL_SOFTWARE_BASE/bamtools
the file EXTERNAL_SOFTWARE_BASE/bamtools/current_release_NUMBER stores
the latest release number for this tool
Note: This script expects the following env variables set by the caller
- GLOBAL_CONFIG
- PACKAGE_DEPENDS
- PACKAGE_BASE
What it does:
- Runs the dependency test
- Calls the right install script depending of the type of the install
- If Installing from binaries then it calls the install_binaries.sh script
- If Installing from source then it calls the tool's Install.sh script
- Runs the Install check