X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;h=7eaed62aa8e235281ab22ba72c022a1a2c1fc86f;hb=1250a56369315c017abfe429c556b863730b9b44;hp=7eb5434e7682e33c746d756eb82eec95ee63afcc;hpb=accb3215b180f8e386f896ba0368b7188eaa190e;p=src%2Fapp-framework-binder.git diff --git a/README.md b/README.md index 7eb5434e..7eaed62a 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,38 @@ 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 : + + * rtl-sdr >= 0.5.0 (fetch and build from "git://git.osmocom.org/rtl-sdr"); + + and the following tools: + + * pkg-config; + * cmake >= 2.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