summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-04-20 17:10:42 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-04-20 17:11:21 +0200
commit9d0b09c8300bf2d6852f2517ad43acea1ecc646d (patch)
treeaa470d586110b8b704e9fee8687ea0a23cb2f4fc /README
parent81c00d0cf16c29135927109e5299e3eade5f8e59 (diff)
Add README and license file
Diffstat (limited to 'README')
-rw-r--r--README101
1 files changed, 101 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 00000000..12daefb9
--- /dev/null
+++ b/README
@@ -0,0 +1,101 @@
+***********
+Description
+***********
+
+cerbero is a multi-platform build system for Open Source projects that builds
+and creates native packages for different platforms, architectures an distribution.
+
+Projects are defined using recipes files (.recipe), which provides a description
+of the project being built such as name, version, licenses, sources and the way
+it's built. It also provide listing of files, which is later used for the packaging.
+
+Packages are defined using packages files (.package), describing the package name,
+version, license, maintainer and other fields used to create the packages. A
+package wraps a list of recipes, from which the list of files belonging to the
+package will be extracted.
+
+
+************
+Minimum Requirements
+************
+
+cerbero provides bootstrapping facilities for all platforms, but it still needs a
+minimum base to bootstrap
+
+Linux
+-----
+On linux, you will only a distribution with python >= 2.6 and python's argparse module,
+which is already included in python2.7
+
+OSX
+---
+On OSX you will to have XCode installed and macports (used to install pkg-config)
+
+Windows
+-------
+The initial setup on Windows is little bit longer, but only a few programs are required.
+ * Python2.7: http://www.python.org/getit/releases/2.7/
+ * Git: http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git
+ * Msys/MinGW: https://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/
+
+cerbero must be run in the MingGW shell, which is accessible from the main menu
+The last step is making python and git available from the shell, for which you will need
+to create a .profile file.
+ $ echo "export PATH=\"\$PATH:/c/Python27:/c/Git/bin\"" > ~/.profile
+
+Note that in side the shell, / is mapped to c:\Mingw\msys\1.0\
+
+
+*****
+Usage
+*****
+
+Bootstrap
+---------
+Before using cerbero for the first time you will need to run the bootstrap command.
+This command installs the missing parts of the build system using the packages manager
+when available.
+ $ cerbero bootstrap
+
+Help
+----
+ $ cerbero --help
+
+List available recipes
+----------------------
+ $ cerbero list
+
+List available packages
+-----------------------
+ $ cerbero list-packages
+
+Build a recipe
+--------------
+ $ cerbero build gtk+
+
+Rebuild a single recipe
+-----------------------
+ $ cerbero buildone gtk+
+
+Clean a recipe
+--------------
+ $ cerbero cleanone gtk+
+
+Create a package
+----------------
+ $ cerbero package gstreamer-sdk
+
+
+*******
+Licence
+*******
+
+cerbero is released under the GNU Lesser General Public License, Version 2.1 (LGPLv2.1)
+
+
+************
+Dependencies
+************
+
+ * python >= 2.6
+ * python-argparse