File: INSTALL

package info (click to toggle)
libkarma 0.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 676 kB
  • sloc: ansic: 6,224; sh: 328; makefile: 229; cs: 170
file content (38 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Compiling:
^^^^^^^^^^
Using make:
"make all" compiles both static and shared libkarma libraries
      and riocp/chprop in the "tools" directory, using the 
      static libkarma library (libkarma.a)

"make clean" removes everything created by "make"

To compile only the static or the shared versions of libkarma
and/or the tools, go to the directories "src" and/or "tools"
and do "make" or "make shared", respectively.


Compiling with jam:
"jam" compiles libkarma as a shared library and riocp/chprop in the 
      "tools" directory

"jam clean" removes everything created by jam

"STATIC=1 jam" compiles everything static

"jam riocp" is possible as well...


Installing:
^^^^^^^^^^^
"make install" will install into $PREFIX (defaults to /usr/local).  Use 
"make PREFIX=whatever" to install elsewhere.  "make uninstall" will remove 
the installed files.

Building the RPM
^^^^^^^^^^^^^^^^
Type "make dist" to create the tarball.
Then "rpm -ta --clean libkarma-<version>.tar.gz" to create the rpms.
Two rpms are created: karma-tools and libkarma-devel. The latter package
is only required for those who wish to write programs which use the
libkarma library.