XStow is a replacement of GNU Stow (stow) written in C++. It
supports all features of Stow with some extensions.
XStow as GNU Stow, are programs for managing the installation of software
packages, keeping them separate (/usr/local/stow/emacs
vs. /usr/local/stow/perl, for example) while making them appear to be
installed in the same place (/usr/local).
A static version with few extensions, which results in a smaller binary.
All features that will blow up the binary and not required for being
compatible to GNU Stow are disabled.
Create symlinks with absolute path names. XStow can always handle
packages which were installed with this option. Installing one package
with absolute path names and one without is no problem. Only the
creation of the symlinks will be affected by this option. This will
cause that if one package is installed with this option and one
without, some of the symlinks of the first package, when they have to
be recreated will be recreated as relative ones. It is not good idea
doing this, even XStow does not have any problems with it.
Warning: Breaks compatibility with Stow!
A list of links pointing to directories, that can be ignored.
eg.: /usr/local/man is a link to /usr/local/share/man
Warning: Breaks compatibility with Stow!
Add the list of traversable links also to the keep targets list. This
prevents the targets of the links from beeing removed by XStow, which
would cause that the traversable link becomes a dead link.
The configuration file xstow.ini can be located in /etc and/or in the
current stow directory. For possible settings and syntax
of this file see xstow.ini(5)
In this manpage there are some detailed informations of some special
settings of XStow too. Please read it!
As an example we install the ixlib library into the /usr/local/ tree.
tar xvfz ixlib-0.96.2.tar.gz
cd ixlib-0.96.2
./configure
make
So far, this was business as usual.
Note: by default the configure script prepares the application for
beeing installed into /usr/local/. Have a look at configure --help for
more info.
Now installation is done by not installing ixlib directly into
/usr/local/, we install it into /usr/local/stow/ixlib-0.96.2/.
make install prefix=/usr/local/stow/ixlib-0.96.2/
The last point is creating all necessare symlinks so that ixlib's
include files can be found by the compiler in
/usr/local/include. Therefore we are using xstow.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.