Version 1.2.0 of the scsh installation library has been released. A
detailed list of changes appears below.
I did not completely follow the plan I posted here some time ago, on
two small issues:
1. instead of adding two options to perform only the build or
install phase, I added only one called "--phases" which takes as
argument the phase(s) to run,
2. instead of giving a warning when --phases is specified with a
package too old to understand it, I give an error and exit; it
really makes no sense to do something else, in my opinion.
Apart from that, as explained below, there's a script intended to test
scsh packages. I can only encourage package authors to use it, and
give me some feedback about its behaviour. I plan to extend it in the
future, to check even more things.
* Changes in version 1.2.0 (released 2004-11-14)
Added option --phases to perform only parts of the installation
procedure (either the "build" phase or the "install" phase).
Added a script called scsh-test-pkg (in bin/) which can be used to
test if a package satisfies (some of) the conventions laid out in the
documentation. While far from being perfect, and slightly pedantic on
naming issues, this script can be very useful for package authors.
Currently, it isn't installed automatically.
Fixed the test to check if a package is installed when
--non-shared-only is specified: in that case, consider the package as
already installed iff a directory in the "lib" location corresponding
to the current platform exists.
Added naming conventions and some documentation for "split packages"
(scsh packages composed of a main archive which is not scsh-aware, and
another archive providing scsh-related files, e.g. the package
Removed previously undocumented --layout-to option.
Changed (undocumented) behaviour of --layout and --layout-from
options: layouts must now be specified as a single s-expression
evaluating to a function mapping a package to a layout. Note: this
doesn't affect the documented behaviour of --layout which still
accepts names to designate predefined layouts.