Environment files goals:
toolwrap
which binary must be started.
env-prepend VARIABLE VALUE env-append VARIABLE VALUE env-set VARIABLE VALUE requires PACKAGE-NAME
env-prepend
, env-append
and env-set
prepends, appends or sets the
VALUE
to the given environment VARIABLE
. requires
includes the environment
of PACKAGE-NAME
to the current environment.
${TOOLWRAP_PKG}
holds the name of the package (i.e.: hello_world-1.0
)${TOOLWRAP_PKGROOT}
holds the root path of the package (i.e.:/opt/pkgs/hello_world-1.0/
)${TOOLWRAP_TOOL}
holds the name of the tool (i.e.: helloworld.sh
).__default__
environment file.
This file is used when no specific package environment file is found.
# # generic environment file # # tells toolwrap which binary to execute env-set TOOLWRAP_BINARY ${TOOLWRAP_PKGROOT}/bin/${TOOLWRAP_TOOL} # standard environment set up # # Note: these variables should always be prepended to to current environment # env-prepend LD_LIBRARY_PATH ${TOOLWRAP_PKGROOT}/lib env-prepend PATH ${TOOLWRAP_PKGROOT}/bin env-prepend MANPATH ${TOOLWRAP_PKGROOT}/man env-prepend INFOPATH ${TOOLWRAP_PKGROOT}/info