scsh-hackers
[Top] [All Lists]

Re: [Scsh-hackers] Library to ease package installation

To: scsh-hackers@lists.sourceforge.net
Subject: Re: [Scsh-hackers] Library to ease package installation
From: bernauer@informatik.uni-tuebingen.de
Date: Fri Nov 14 11:48:15 2003
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Mail-followup-to: scsh-hackers@lists.sourceforge.net
Sender: scsh-hackers-admin@lists.sourceforge.net
Michel Schinz wrote:
> Apart from these files, the package author has to provide a file
> called "pkg-def.scm" which contains the definition of his package.
> [...] For example, here is the one I wrote for sunet:
> 
> ----------------------------------------------------------------------
> (define-package "sunet" (2 0)
>   (install-directories '("doc" "ftpd" "httpd" "lib"))
>   (install-file "packages.scm"))
> ----------------------------------------------------------------------

The web-server directory and the files in the top-level like COPYING
are missing just because this is a simple example, right?

> (define (active-link-name root pkg)
>   (absolute-file-name (package:name pkg) (active-directory root)))
> 

I'd like to have the links relative to the active directory rather
than absolute, so I can move the root-directory somewhere else
(pack-and-go :-) without having to relink everything.

Anyhow, I like the idea of the package system.

Andreas.

Attachment: pgpgP2Bs9Fm9z.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>