X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/7b9b5c786c2101f5705dc81378a3ef0785fed3a6..83413d14e30727d4279674d5bb811f436c9600f2:/HACKING.asciidoc?ds=inline

diff --git a/HACKING.asciidoc b/HACKING.asciidoc
index ed2a46b..ff5c62b 100644
--- a/HACKING.asciidoc
+++ b/HACKING.asciidoc
@@ -5,6 +5,31 @@
 libam7xxx uses the linux kernel coding style:
 http://kernel.org/doc/Documentation/CodingStyle
 
+=== Getting and compiling libam7xxx
+
+libam7xxx depends on 'libusb-1.0' and optionally on 'libav' or 'ffmpeg' for
+its example programs, the build system used is 'cmake'.
+
+On a Debian based system, the dependencies can be installed with this command:
+
+  $ sudo aptitude install cmake \
+                          libusb-1.0-0-dev \
+                          libavformat-dev \
+                          libavcodec-dev \
+                          libavdevice-dev \
+                          libswscale-dev
+
+The library and the example programs can be compiled following these steps:
+
+  $ git clone git://git.ao2.it/libam7xxx.git
+  $ cd libam7xxx
+  $ mkdir build
+  $ cd build
+  $ cmake ../
+  $ make
+
+After that the example programs can be found in the +bin/+ subdirectory.
+
 === Debug builds
 
 The suggested way to hack on the project is: