Go to file
michel-schinz 3eee4ba1a8 - permissions can now be specified as a function or an integer
(equivalent to a constant function) everywhere,
- create-directory&parents is now independent from the installation
  library and could be reused in other contexts,
- incorporated first part of Martin's changes, which fix a problem
  with install-string: it now accepts optional permissions, and does
  not create a file in a dry run.
2004-05-12 18:39:04 +00:00
doc *** empty log message *** 2004-04-06 19:24:44 +00:00
scheme/install-lib - permissions can now be specified as a function or an integer 2004-05-12 18:39:04 +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 - install files in <prefix>/share/scsh-install-lib and 2004-04-01 18:34:43 +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.