https://github.com/ygrek/opam-bundle
small tool to create OCaml software bundles from OPAM packages, superseded by builtin functionality in opam 2
https://github.com/ygrek/opam-bundle
Last synced: about 2 months ago
JSON representation
small tool to create OCaml software bundles from OPAM packages, superseded by builtin functionality in opam 2
- Host: GitHub
- URL: https://github.com/ygrek/opam-bundle
- Owner: ygrek
- Created: 2014-09-28T14:58:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-08T23:36:52.000Z (almost 10 years ago)
- Last Synced: 2025-04-15T15:12:27.431Z (about 2 months ago)
- Language: OCaml
- Homepage:
- Size: 116 KB
- Stars: 18
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
OPAM bundler
============opam-bundle takes an OPAM package name (target) and creates an archive with the
sources of the package and all its transitive dependencies along with the shell script
to build the target in the standalone setting.After that the bundle can be distributed to other hosts (without OPAM or any
OCaml libraries installed) and used to build the target software without
requestiing the user to install OPAM and dependecies manually. Dependencies get
built and installed into the local directory independently from the host
environment by configuring the environment variables for OCaml tools
appropriately.opam-bundle will use the information from the current OPAM switch when creating
the bundle (.e.g. the list of installed packages, optional dependencies, compiler
version) which may (will) influence the dependency resolution and the contents of the
bundle.Build
-----Currently requires patched opam-lib
opam pin add opam-lib git://github.com/ygrek/opam#expose
After that usual:
./configure && make
TODO
----* handle depexts