bzr branch
http://darksoft.org/webbzr/alps/ufodecode
36
by Matthias Vogelgesang
Add INSTALL and README |
1 |
Simple install procedure |
2 |
========================
|
|
3 |
||
4 |
$ tar xfz libufodecode-0.x.y.tar.xfz |
|
5 |
$ cd libufodecode-0.x.y |
|
6 |
$ mkdir build |
|
7 |
$ cd build/ |
|
8 |
$ cmake .. |
|
9 |
$ make |
|
10 |
||
11 |
[ Become root if necessary ] |
|
12 |
$ make install |
|
13 |
||
14 |
||
15 |
Requirements
|
|
16 |
============
|
|
17 |
||
18 |
libuca requires CMake and a standard C Compiler. Information about CMake can be |
|
19 |
found at: |
|
20 |
||
21 |
http://www.cmake.org |
|
22 |
||
23 |
||
24 |
Building the Library |
|
25 |
====================
|
|
26 |
||
27 |
On Linux, libufodecode uses the CMake build system. The normal procedure to |
|
28 |
build this library is to create an empty build directory: |
|
29 |
||
30 |
$ mkdir build/ && cd build |
|
31 |
||
32 |
configure the project using CMake: |
|
33 |
||
34 |
$ cmake ../ |
|
35 |
||
36 |
and compiling the library with make: |
|
37 |
||
38 |
$ make |
|
39 |
$ make install |
|
40 |
||
41 |
Options to the build process can be passed to the system when configuring: |
|
42 |
||
43 |
$ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr |
|
44 |
||
45 |
or via configuration tools like `ccmake`. |