| Line | |
|---|
| 1 | boc-device |
|---|
| 2 | Copyright (C) 2008-2009 Bolloré telecom |
|---|
| 3 | See AUTHORS file for a full list of contributors. |
|---|
| 4 | |
|---|
| 5 | License |
|---|
| 6 | ======= |
|---|
| 7 | |
|---|
| 8 | This program is free software: you can redistribute it and/or modify |
|---|
| 9 | it under the terms of the GNU General Public License as published by |
|---|
| 10 | the Free Software Foundation, either version 3 of the License, or |
|---|
| 11 | (at your option) any later version. |
|---|
| 12 | |
|---|
| 13 | This program is distributed in the hope that it will be useful, |
|---|
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | GNU General Public License for more details. |
|---|
| 17 | |
|---|
| 18 | You should have received a copy of the GNU General Public License |
|---|
| 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 20 | |
|---|
| 21 | Requirements |
|---|
| 22 | ============ |
|---|
| 23 | |
|---|
| 24 | On Debian |
|---|
| 25 | ---------- |
|---|
| 26 | |
|---|
| 27 | You will need the following packages to compile boc-utils: |
|---|
| 28 | |
|---|
| 29 | cmake libgcrypt-dev libqt4-dev libwbxml2-dev |
|---|
| 30 | |
|---|
| 31 | On MacOS/X |
|---|
| 32 | ---------- |
|---|
| 33 | |
|---|
| 34 | sudo port install cmake libgcrypt qt4-mac wbxml2 |
|---|
| 35 | |
|---|
| 36 | Cross-compiling for mingw32 |
|---|
| 37 | --------------------------- |
|---|
| 38 | |
|---|
| 39 | mkdir build-win32 |
|---|
| 40 | cd build-win32 |
|---|
| 41 | cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/mingw32.toolchain |
|---|
| 42 | make |
|---|
| 43 | |
|---|
| 44 | Building boc-device |
|---|
| 45 | ================== |
|---|
| 46 | |
|---|
| 47 | $ mkdir build |
|---|
| 48 | $ cd build |
|---|
| 49 | $ cmake .. |
|---|
| 50 | $ make |
|---|
| 51 | |
|---|
| 52 | Note: if you are running MacOS/X and are using Qt from macports, invoke cmake as: |
|---|
| 53 | |
|---|
| 54 | $ cmake .. -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake |
|---|
| 55 | |
|---|
| 56 | Usage |
|---|
| 57 | ===== |
|---|
| 58 | |
|---|
| 59 | To launch the device management agent |
|---|
| 60 | $ src/boc-dm |
|---|