1 | OSCam: Open Source CAM
|
---|
2 | ----------------------
|
---|
3 |
|
---|
4 | based on MpCS version 0.9d. Thanks to all the authors/contributors.
|
---|
5 |
|
---|
6 |
|
---|
7 | Pointers
|
---|
8 | --------
|
---|
9 |
|
---|
10 | - SVN repository:
|
---|
11 | http://streamboard.gmc.to/svn/oscam
|
---|
12 |
|
---|
13 | - trac instance:
|
---|
14 | http://streamboard.gmc.to/oscam
|
---|
15 |
|
---|
16 |
|
---|
17 | Get the lastest sources from SVN
|
---|
18 | --------------------------------
|
---|
19 |
|
---|
20 | svn co http://streamboard.gmc.to/svn/oscam/trunk oscam-trunk
|
---|
21 |
|
---|
22 |
|
---|
23 | Compile options
|
---|
24 | ---------------
|
---|
25 |
|
---|
26 | DVBAPI support is automatically compiled in if the target platform supports it.
|
---|
27 |
|
---|
28 | Enable features:
|
---|
29 |
|
---|
30 | CS_ANTICASC - enable anti-cascading (default)
|
---|
31 | CS_LOGHISTORY - enable log history (default)
|
---|
32 | CS_WITH_DOUBLECHECK - enable CW double check
|
---|
33 | CS_WITH_GBOX - enable gbox support
|
---|
34 | CS_LED - enable LED trigger support (currently only working on NSLU2)
|
---|
35 | DWEBIF - enable web interface
|
---|
36 | IRDETO_GUESSING - enable irdeto guessing support
|
---|
37 | WITH_STAPI - enbale DVBAPI support for STAPI
|
---|
38 | DHAVE_PCSC - enable PC SC support
|
---|
39 | DHAVE_LIBUSB - enable USB library support
|
---|
40 | DWITH_SSL - enbale SSL support for web interface
|
---|
41 |
|
---|
42 | Enable features with cmake:
|
---|
43 |
|
---|
44 | -DCS_ANTICASC=1 - enable anti-cascading (default)
|
---|
45 | -DCS_LOGHISTORY=1 - enable log history (default)
|
---|
46 | -DCS_WITH_DOUBLECHECK=1 - enable CW double check
|
---|
47 | -DCS_WITH_GBOX=1 - enable gbox support
|
---|
48 | -DCS_LED=1 - enable LED trigger support (currently only working on NSLU2)
|
---|
49 | -DWEBIF=1 - enable web interface
|
---|
50 | -DIRDETO_GUESSING=1 - enable irdeto guessing support
|
---|
51 | -DWITH_STAPI=1 - enbale DVBAPI support for STAPI
|
---|
52 | -DHAVE_PCSC=1 - enable PC SC support
|
---|
53 | -DHAVE_LIBUSB=1 - enable USB library support
|
---|
54 | -DWITH_SSL=1 - enbale SSL support for web interface
|
---|
55 |
|
---|
56 | Use config.sh to enable/disbale features.
|
---|
57 |
|
---|
58 |
|
---|
59 | Build with CMake (new solution for building)
|
---|
60 | --------------------------------------------
|
---|
61 |
|
---|
62 | mkdir build_dir
|
---|
63 | cd build_dir
|
---|
64 | config.sh
|
---|
65 | cmake ..
|
---|
66 | make
|
---|
67 |
|
---|
68 |
|
---|
69 | Build with different toolchain (cross-compilation)
|
---|
70 | --------------------------------------------------
|
---|
71 |
|
---|
72 | cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/toolchain-powerpc-tuxbox.cmake ..
|
---|
73 |
|
---|
74 |
|
---|
75 | Change build parameters (on command line)
|
---|
76 | -----------------------------------------
|
---|
77 |
|
---|
78 | cmake -DCS_CONFDIR=/where/is/config/files ..
|
---|
79 | cmake -DCMAKE_INSTALL_PREFIX=/where/to/installed ..
|
---|
80 | cmake -DCS_CONFDIR=/where/is/config/files -DCMAKE_INSTALL_PREFIX=/where/to/installed ..
|
---|
81 |
|
---|
82 |
|
---|
83 | Change build parameters (with interface)
|
---|
84 | ----------------------------------------
|
---|
85 |
|
---|
86 | ccmake ..
|
---|
87 |
|
---|
88 |
|
---|
89 | Install
|
---|
90 | -------
|
---|
91 |
|
---|
92 | make install
|
---|