How to use a distribution
To use a package distribution you have to add a remote URL into your
file (see the remote preferences of the vle.conf
documentation. Be careful to add only URLs that you
trust in. For example to add an URL of a distribution
update the following line:
Then you have to perform an update of the local view of the remote packages:
vle --remote update
To install packages from this distribution you can use the remote mode of the command line interface.
Content of a distribution
The content of a distribution should have the following structure.
$http://mydistribution/ └─ packages.pkg ; the package description file └─ mypkg1.tar.bz2 ; the first package of the distribution └─ mypkg2.tar.bz2 ; the 2nd package of the distribution └─ ...
packages.pkg is simply the concatenation of the
Description.txt files of
the packages contained into the distribution (see packages
structure). For example:
Package: mypkg1 Version: 0.1.0 Depends: Build-Depends: Conflicts: Maintainer: John Do <firstname.lastname@example.org> Description: An extension to build difference equation models . Tags: extension Url: http://www.vle-project.org/pub/2.0 Size: 0 MD5sum: xxxx Package: mypkg2 Version: 0.1.0 Depends: Build-Depends: Conflicts: Maintainer: John Do <email@example.com> Description: An extension to build FSA models . Tags: extension Url: http://www.vle-project.org/pub/2.0 Size: 0 MD5sum: xxxx
tar.bz2 files are compressed archives of the source code of
packages. For the moment only source code is provided into distribution.