16.Provides
List of Binaries/Packages Generated during Build (TYPE: RECOMMENDED)
Last updated
#Example ONLY
# $pkg itself will always be a default value, so not needed if contains only 1 program and that 1 program is $pkg itself, however we can name it explictly if the prog is also meant to be Symlinked with known by another name with ==
provides:
- "prog-original==prog-symlink"
#Example:
# - "busybox==whoami" --> busybox is the main program , but since `whoami` is also defined, soar will create a whoami symlink that points to buysbox
#If a $pkg has multiple symlinks, it can be specified in this way
provides:
- "prog-original==prog-symlink-1"
- "prog-original==prog-symlink-2"
- "prog-original==prog-symlink-3"provides:
- "prog-original=>prog-new" # prog-original would get symlinked as prog-new
#Example:
# - "ripgrep=>rg" --> ripgrep is the main program , but since `rg` is also defined with =>, soar will symlink the ripgrep package as rg in BINDIR
#Only renames the symlink, the original name will still be present in INSTALL_DIR
#When Invoked from the cmdline, only rg would be found