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.
pgpgP2Bs9Fm9z.pgp
Description: PGP signature
|