Eduardo Cavazos wrote:
Here's a sketch of what I'm thinking:
http://github.com/dharmatech/epcot/tree/master
I added a backend for 'http-tar-gz'.
To the registry I added an example package, 'tspl':
(tspl
http-tar-gz
"http://proteus.freeshell.org/tspl.tar.gz"
())
Installing the 'tspl' package:
----------------------------------------------------------------------
# scheme-script install.sps tspl
--14:56:28-- http://proteus.freeshell.org/tspl.tar.gz
=> `out.tar.gz'
Resolving proteus.freeshell.org... 192.94.73.7
Connecting to proteus.freeshell.org|192.94.73.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,097 (1.1K) [application/x-tar]
100%[====================================>] 1,097 --.--K/s
14:56:28 (55.07 MB/s) - `out.tar.gz' saved [1097/1097]
tspl/
tspl/matrix.sls
----------------------------------------------------------------------
If you install again:
----------------------------------------------------------------------
# scheme-script install.sps tspl
Already installed
----------------------------------------------------------------------
Aziz pointed out that in certain cases, there may be non-Scheme files
and that moreover, they may need to be processed and placed in
particular places. This could be handled by an 'install' script (itself
a Scheme program) which ships with the package. And the package manager
would run this at install time.
By the way, I had no idea what EPCOT stands for:
Experimental Prototype Community of Tomorrow
Ed