An extremely high-level package manager for just about anything
$ libget --help
See sample.json
for a sample dependency specification for your project.
Currently, libget
only supports copying files from a base package path where
each dependency has a directory with its name and subdirectories for each version.
For example, if you have a dependency specification in spec.json
:
{
"version": "1",
"dependencies": {
"lib/openssl": { "name": "openssl", "version": "1.0" }
}
}
then you must have a directory somewhere like this /packages/openssl/1.0
.
You can install from this package source like this
$ cat spec.json | libget "/packages"
which will put the openssl
dependency in ./lib/openssl
.
You can do something like this to try different package sources in order:
$ libget "/local/packages" "/remote/packages" "/really/remote/packages" -f spec.json
If a package cannot be found in /local/packages
then libget
will check
/remote/packages
, and so on.
You must have
- Glasgow Haskell Compiler
- Cabal (which comes with the Haskell Platform)
Then you can
$ cd libget
$ cabal install
Copyright © Covenant Eyes 2014
This package is licensed under the MIT license
(see LICENSE
).