docs/readme.mdwn
changeset 15 6222baf5dccc
parent 0 3f69962cbbf4
equal deleted inserted replaced
14:3f6d549befa8 15:6222baf5dccc
       
     1 
       
     2 # Uptime tracking for MCabber
       
     3 
       
     4 This is a mcabber module to track mcabber uptime. To do so you need
       
     5 either to have '/proc/self/stat', '/proc/uptime' and 'sysconf()'
       
     6 (probably, linux-specific) or load it at mcabber initialization time.
       
     7 
       
     8 To use first variant, set the 'uptime_use_proc' option.
       
     9 
       
    10 # Installation
       
    11 
       
    12 To install it, you need:
       
    13 
       
    14  * mcabber headers
       
    15  * glib
       
    16  * cmake
       
    17  * make
       
    18  * c compiler (gcc)
       
    19  * linker (binutils)
       
    20 
       
    21 Then do:
       
    22 
       
    23     $ mkdir build
       
    24     $ cd build
       
    25     $ cmake ..
       
    26     $ make edit_cache
       
    27     $ make
       
    28     # make install
       
    29 
       
    30 Debian users can instead of make install do:
       
    31 
       
    32     $ make package
       
    33     # dpkg -i libmcabber-uptime_*.deb
       
    34 
       
    35 Users of other distributions can select appropriate package generator,
       
    36 using cache editor.
       
    37 
       
    38 # License
       
    39 
       
    40 This code underlies terms of GNU GPL v2 or later. You can find it in
       
    41 file COPYING from this distribution or on a GNU web-site
       
    42 <http://www.gnu.org/licenses/>.
       
    43 
       
    44 # Contact
       
    45 
       
    46 I will be happy to get feedback, patches, suggestions, etc.
       
    47 You can send me email or contact via jabber <isbear@unixzone.org.ua>.
       
    48 
       
    49   -- Myhailo Danylenko <isbear@ukrpost.net>