Commit 7791ac90 authored by Afif Elghraoui's avatar Afif Elghraoui

Add examples

parent a269ee61
......@@ -19,6 +19,34 @@ It works by setting an array of standard environment variables so that installat
Please see <https://gitlab.com/afif/bond/issues> for known issues or to report new ones.
# EXAMPLE
Prepare a directory to use as an installation prefix.
mkdir local
basedir="$PWD/local"
Bond it.
bond "$basedir"
Install programs to this folder.
For any program you want to install, set the prefix to the bonded folder.
Perl module:
perl Makefile.PL INSTALL_BASE="$basedir"
make
make install
Autoconfiscated package:
./configure --prefix="$basedir"
make
make install
These packages should now be available for use within the current and any child shell as if they were centrally installed.
# SEE ALSO
http://man.cat-v.org/plan_9/1/bind
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment