Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The "findlib" software provides a scheme to manage reusable software components in the form of libraries, and includes tools that support this scheme. A library installed as a findlib component is also called a package. The point is that the findlib scheme allows it to store metainformation about the library, especially how it can be used in programs. The packages are kept in the filesystem hierarchy, but the directory structure is defined by findlib, and there is no way to deviate from this standard. 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.
- Loading branch information
rillig
committed
May 20, 2006
1 parent
104cc6d
commit 390b7b8
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
The "findlib" software provides a scheme to manage reusable software | ||
components in the form of libraries, and includes tools that support | ||
this scheme. A library installed as a findlib component is also called | ||
a package. The point is that the findlib scheme allows it to store | ||
metainformation about the library, especially how it can be used in | ||
programs. The packages are kept in the filesystem hierarchy, but the | ||
directory structure is defined by findlib, and there is no way to | ||
deviate from this standard. 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# $NetBSD: Makefile,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $ | ||
# | ||
|
||
DISTNAME= findlib-1.1.2pl1 | ||
PKGNAME= ocaml-${DISTNAME} | ||
CATEGORIES= devel | ||
MASTER_SITES= http://www.ocaml-programming.de/packages/ | ||
|
||
MAINTAINER= rillig@NetBSD.org | ||
HOMEPAGE= http://www.ocaml-programming.de/packages/ | ||
COMMENT= Library finder for OCaml | ||
|
||
USE_TOOLS+= gmake | ||
USE_PKGLOCALEDIR= yes | ||
HAS_CONFIGURE= yes | ||
CONFIGURE_ARGS+= -bindir ${PREFIX}/bin | ||
CONFIGURE_ARGS+= -mandir ${PREFIX}/${PKGMANDIR} | ||
CONFIGURE_ARGS+= -config ${PKG_SYSCONFDIR}/ocamlfind.conf | ||
|
||
EGDIR= ${PREFIX}/share/examples/ocaml-findlib | ||
INSTALL_MAKE_FLAGS+= OCAMLFIND_CONF=${EGDIR}/ocamlfind.conf | ||
|
||
CONF_FILES= ${EGDIR}/ocamlfind.conf ${PKG_SYSCONFDIR}/ocamlfind.conf | ||
|
||
.include "../../lang/ocaml/buildlink3.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $ | ||
bin/ocamlfind | ||
bin/safe_camlp4 | ||
lib/ocaml/site-lib/bigarray/META | ||
lib/ocaml/site-lib/camlp4/META | ||
lib/ocaml/site-lib/dbm/META | ||
lib/ocaml/site-lib/dynlink/META | ||
lib/ocaml/site-lib/findlib/META | ||
lib/ocaml/site-lib/findlib/Makefile.config | ||
lib/ocaml/site-lib/findlib/findlib.cma | ||
lib/ocaml/site-lib/findlib/findlib.cmi | ||
lib/ocaml/site-lib/findlib/findlib.mli | ||
lib/ocaml/site-lib/findlib/findlib_top.cma | ||
lib/ocaml/site-lib/findlib/fl_metascanner.cmi | ||
lib/ocaml/site-lib/findlib/fl_metascanner.mli | ||
lib/ocaml/site-lib/findlib/fl_package_base.cmi | ||
lib/ocaml/site-lib/findlib/fl_package_base.mli | ||
lib/ocaml/site-lib/findlib/topfind.cmi | ||
lib/ocaml/site-lib/findlib/topfind.mli | ||
lib/ocaml/site-lib/graphics/META | ||
lib/ocaml/site-lib/num-top/META | ||
lib/ocaml/site-lib/num-top/num_top.cma | ||
lib/ocaml/site-lib/num-top/num_top.cmi | ||
lib/ocaml/site-lib/num-top/num_top_printers.cmi | ||
lib/ocaml/site-lib/num/META | ||
lib/ocaml/site-lib/stdlib/META | ||
lib/ocaml/site-lib/str/META | ||
lib/ocaml/site-lib/threads/META | ||
lib/ocaml/site-lib/unix/META | ||
lib/ocaml/topfind | ||
man/man1/ocamlfind.1 | ||
man/man5/META.5 | ||
man/man5/findlib.conf.5 | ||
man/man5/site-lib.5 | ||
share/examples/ocaml-findlib/ocamlfind.conf | ||
@dirrm share/examples/ocaml-findlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$NetBSD: distinfo,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $ | ||
|
||
SHA1 (findlib-1.1.2pl1.tar.gz) = ccd8b9d6249b5a4097040d32b90048b11054f461 | ||
RMD160 (findlib-1.1.2pl1.tar.gz) = 1bd97ac60eb6ba9b3711814d38f7682a5f874cd3 | ||
Size (findlib-1.1.2pl1.tar.gz) = 153542 bytes |