README.rst: add a section about packaging

This commit is contained in:
Jérôme Schneider 2013-10-23 15:47:25 +02:00
parent 111f5627e0
commit 077f91087b
1 changed files with 25 additions and 0 deletions

View File

@ -41,3 +41,28 @@ Example with python-entrouvert::
Do note it will fail the SSH host key verification unless the proper
known_hosts file has been installed, or created by manually connecting
to the git server.
Packaging
---------
To make your git repository compatible with eobuilder you need to add a Debian branch
with a debian folder.
You can also use debian-DIST branches.
EO Builder supports 3 types of sources at the moment :
Python
You need at least a setup.py which supports options :
--name, --version, --fullname, sdist --formats=bztar and clean --all
Example: http://repos.entrouvert.org/portail-citoyen-announces.git
Autotools
You need at least an autogen.sh and a configure.ac files. You also need a script to Generate
version numbers like : http://repos.entrouvert.org/lasso.git/tree/tools/git-version-gen
Example: http://repos.entrouvert.org/lasso.git
Makefile
You need to have a Makefile file with a least the following targets :
version, name, fullname and dist-bzip2 targets