summaryrefslogtreecommitdiffstats
path: root/libs/findlib/DETAILS
blob: 1ad03f675bbcb18986089e5d75450d7b310c8e0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
           SPELL=findlib
         VERSION=1.1.2pl1
          SOURCE=findlib-1.1.2pl1.tar.gz
   SOURCE_URL[0]=http://www.ocaml-programming.de/packages/findlib-1.1.2pl1.tar.gz
     SOURCE_HASH=sha512:f92fe8b1a2f0d37d5ad5017aadf3f9d1e1e67ff421d8ed056b14565942f804b0528c4cadf4833a78f99fc45d7b9c9dbd8df17da5801d1e35a387adb5600c6b65
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
        WEB_SITE=http://www.ocaml-programming.de/programming/findlib.html
         ENTERED=20060629
      LICENSE[0]=MIT
           SHORT="The "findlib" library provides a scheme to manage reusable software components (packages)"
cat << EOF
The "findlib" library provides a scheme to manage reusable software components
(packages), and includes tools that support this scheme. Packages are
collections of OCaml modules for which metainformation can be stored. The
packages are kept in the filesystem hierarchy, but with strict directory
structure. The library contains functions to look the directory up that
stores a package, to query metainformation about a package, and to retrieve
dependency information about multiple packages. There is also a tool that
allows the user to enter queries on the command-line. In order to simplify
compilation and linkage, there are new frontends of the various OCaml
compilers that can directly deal with packages.

Together with the packages metainformation is stored. This includes
a version string, the archives the package consists of, and additional
linker options. Packages can also be dependent on other packages. There is a
query which finds out all predecessors of a list of packages and sorts them
topologically. The new compiler frontends do this implicitly.

Metainformation can be conditional, i.e. depend on a set of predicates. This
is mainly used to be able to react on certain properties of the environment,
such as if the bytecode or the native compiler is invoked, if the application
is multi-threaded, and a few more. If the new compiler frontends are used,
most predicates are found out automatically.

There is special support for scripts. A new directive, "#require", loads
packages into scripts. Of course, this works only with newly created toploops
which include the "findlib" library.
EOF