X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;h=5846f001c5293250f4634e4a0511f34bbb82658c;hb=61354a55ac2abd9e83e1f869cdb735654d6eb74a;hp=7eb5434e7682e33c746d756eb82eec95ee63afcc;hpb=accb3215b180f8e386f896ba0368b7188eaa190e;p=src%2Fapp-framework-binder.git diff --git a/README.md b/README.md index 7eb5434e..5846f001 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,39 @@ Final goal is keep the engine public while allowing people to load non open-sour libraries especially libmicrohttpd & libjson. Finally what ever Licence is chosen it should be compatible with dependencies and automotive industry requirementsas the primary target for this code is AGL. +### Building + Building Application Framework Binder requires the following libraries: + + * libmagic ("libmagic-dev" under Debian/Ubuntu, "file-devel" under OpenSUSE); + * libmicrohttpd ("libmicrohttpd-dev/devel"); + * json-c ("libjson-c-dev/devel"); + * uuid ("uuid-dev/libuuid-devel"); + + optionally, for plugins : + + * alsa ("libasound2-dev/alsa-devel"); + * rtl-sdr >= 0.5.0 (fetch and build from "git://git.osmocom.org/rtl-sdr"); + + and the following tools: + + * pkg-config; + * cmake >= 2.8.8. + +To install all dependencies under OpenSUSE (except rtl-sdr), please type: + +$ zypper in file-devel libmicrohttpd-devel libjson-c-devel libuuid-devel pkg-config cmake + + To build from the root directory, please type: + +$ mkdir build; cd build
+$ cmake ..
+$ make; make install
+ ### Start -afb-daemon --help +$ afb-daemon --help ### Example -afb-daemon --verbose --rootdir=/home/fulup/.AFB --alias=icons:/usr/share/icons +$ afb-daemon --verbose --rootdir=/home/fulup/.AFB --alias=icons:/usr/share/icons ### Directory & Path Default behaviour is to locate ROOTDIR in $HOME/.AFB