author | Myhailo Danylenko <isbear@ukrpost.net> |
Tue, 19 May 2009 00:42:01 +0300 | |
changeset 20 | 0ce7093df25f |
parent 11 | a8c6460d612b |
child 23 | 13f03e604c8a |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
This is a lua 5.1 interface for loudmouth jabber client library. |
|
6
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
3 |
|
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
4 |
To install it, you need: |
20 | 5 |
- lua (in fact, optional, to run test, but for now CMake cannot detect liblua separately) |
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
6 |
- liblua headers and library |
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
7 |
- glib headers and library |
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
8 |
- loudmouth headers and library |
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
9 |
- cmake |
20 | 10 |
- pkg-config (to detect glib and loudmouth) |
11 |
- perl (optional, to generate documentation) |
|
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
12 |
|
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
13 |
Then do |
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
14 |
$ mkdir build |
6
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
15 |
$ cd build |
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
16 |
$ cmake .. |
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
17 |
$ cmake edit_cache |
6
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
18 |
$ make |
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
19 |
# make install |
0 | 20 |
|
20 | 21 |
Debian users can instead of make install do, |
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
6
diff
changeset
|
22 |
$ fakeroot make package |
6
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
23 |
# dpkg -i liblua5.1-*.deb |
0 | 24 |
|
20 | 25 |
Users of other systems can set other CPack generator wich cache editor. |
26 |
||
6
90073cbb535d
Logging and chained methods
Myhailo Danylenko <isbear@ukrpost.net>
parents:
5
diff
changeset
|
27 |
This code underlies terms of GNU GPL v2 or later. |
0 | 28 |
|
29 |
I will be happy to get feedback, patches, suggestions, etc. |
|
30 |
||
5
e617c9cf6dd3
Updates to build system
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
31 |
-- Myhailo Danylenko <isbear@ukrpost.net> |
0 | 32 |