Go to file
michel-schinz 54fabbbcf3 - added interfaces for the various utilities found in install-lib
(e.g. create-directory&parents),
- introduced the new name "install-lib" for the structure of the
  installation library (the old name, "install", is still there but
  deprecated)
2004-05-17 20:14:13 +00:00
doc *** empty log message *** 2004-04-06 19:24:44 +00:00
scheme/install-lib - added interfaces for the various utilities found in install-lib 2004-05-17 20:14:13 +00:00
.gitignore - initial version (no layouts yet) 2003-12-14 12:14:21 +00:00
COPYING *** empty log message *** 2004-03-31 19:47:07 +00:00
Makefile *** empty log message *** 2004-03-31 19:47:07 +00:00
README *** empty log message *** 2004-03-31 19:47:07 +00:00
install.scm - now use the installation library to install itself (also as a 2004-05-17 20:12:30 +00:00
pkg-def.scm *** empty log message *** 2004-05-17 20:11:17 +00:00

README

                      scsh installation library

Introduction
------------

This is the scsh installation library, which aims at making it easy to
install extension libraries for scsh.

The complete documentation for this library can be found in
doc/proposal.pdf. Apart from describing the library itself, this
document also explains how to install and use scsh packages in
general.

Notice that this library needs scsh v0.6.6 or newer, and will not
work at all with older versions.


Installation
------------

This library must be installed before any attempt at installing scsh
packages is made.

Installation is performed by running the install.scm script found in
the same directory as the present file. This script accepts the
following option:

  --prefix <dir>   directory in which to install files
                   (default: /usr/local)

The following files are installed:

  <prefix>/bin/scsh-install-pkg

    The script to run in order to install scsh packages. Its use is
    explained in the documentation (see below).

  <prefix>/share/scsh/install-lib/scheme/install-lib.scm
  <prefix>/share/scsh/install-lib/scheme/install-lib-module.scm

    The Scheme code for the installation library.

  <prefix>/share/doc/scsh/install-lib/proposal.pdf

    The documentation describing the installation library, and how to
    manage scsh packages in general.


Staged installation
-------------------

The installation script provides support for staged installation, as
needed by some package managment systems. The destination directory in
which files should be installed can be specified using the
"--dest-dir" option.