On Sun, Feb 08, 2004 at 10:58:39AM +0100, Michel Schinz wrote:
> Ok, so I added install-string exactly as you suggested.
Thank you, it works well. By the way, May I distribute install-lib
under the modified BSD license (as scsh and sunterlib)?
Sunterlib is organized as a collection of independent libraries. I
would like to keep them independent, so I envision each library having
a local pkg-def.scm for example:
sunterlib/
pkg-def.scm
install-pkg
s48/
args-fold/
pkg-def.scm
...
scsh/
afs/
pkg-def.scm
base64/
pkg-def.scm
...
The difficult thing is dealing with relative directories. I've tried
the simple things in the master sunterlib/pkg-def.scm, like:
(with-cwd "s48/args-fold" (load "pkg-def.scm"))
...
(with-cwd "scsh/afs" (load "pkg-def.scm"))
...
but clearly I'm going to need to do something more sophisticated to
deal with the relative directory issue. I'm sure it would be best if I
went through install-lib.scm to find out exactly what is happening,
but I'll ask you first, in case there is an quick/easy answer, since
my time seems short this month.
My guess is that define-package should capture cwd, and install
package should restore it. Does this seem correct to you?
--
Anthony Carrico
|