NAME
  lt - link trees, a package management tool
SYNOPSIS
  lt [-nuilaqfv] [-x pat] [-t tdir] [afile | dir ...]
DESCRIPTION
  lt is a package management tool, which can be used to install, query,
  check, update and remove software packages. Each package is located
  in its own directory, then symbolic links are used to make package
  files accessible in traditional common location (/usr/local). No database
  is used, and lt is simple and stateless.

  TREE ORGANISATION
  filesystem is organized the following way:

    usr/local/
    \_ pkg/
    |  \_ sample-1.0/
    |     \_ bin/
    |     |  \_ cmd1
    |     |  \_ cmd2
    |     \_ lib/
    |        \_ lib1
    \_ bin/
    |  \_ cmd1 -> ../pkg/sample-1.0/bin/cmd1
    |  \_ cmd2 -> ../pkg/sample-1.0/bin/cmd1
    \_ lib/
       \_ lib1 -> ../pkg/sample-1.0/lib/lib1

   PACKAGE GENERATION
   The best way is to configure the target directory to be
   the physical path:

     $ ./configure --prefix=/usr/local/pkg/sample-1.0

   Alternatively, the target directory may be specified at
   install:

     $ make install PREFIX=/usr/local/pkg/sample-1.0

OPTIONS
  GENERAL OPTIONS
  -v            verbose mode: print actions as they are run.
  -s		silent mode: only errors are displayed.
  -n		debug mode: print actions instead of run.
  -f		force mode: ignore errors. Otherwise, by default, lt exits at 
                the first encountered error.
  -t tdir	set target to tdir. By default, it is parent directory (..).
  -x pat	exclude all files matching pattern pat, relative to item.
  		this options can be specified multiple times.

  QUERY OPTIONS
  -a afile	list all installed version for afile package, or
		everything if afile isempty, active (marked with *)
		or inactive (marked with -).
  -l afile	print all the files belonging to the same package as afile.
  -q afile	print the package which file afile belongs to.
  -c dir	check mode: verify that all files belonging to given package
		dir are correctly installed.

  INSTALL/UNINSTALL OPTIONS
  -i dir	install mode: create symbolic links to package dir content.
  -d dir    	delete mode: delete links instead of creating them.
  -u dir	upgrade mode: for a given package, uninstall any conflicting
  		package, then install dir package.
EXAMPLES
  To print the package version that contains a command:

     $ lt -f command

  To update a package:

     $ lt -u new_package_vers

TODO
  Generic way to handle package meta-data. This will allow package description,
  handling dependencies, ...
ENVIRONMENT
  LTPATH	search path for package directories
AUTHOR
  Marc Vertes <mvertes@free.fr>
