File: INSTALL

package info (click to toggle)
libcorkipset 1.1.1+20150311-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 968 kB
  • sloc: ansic: 5,247; python: 449; sh: 82; makefile: 20
file content (34 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (4)
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
Installation instructions
=========================

The ipset library is written in ANSI C.  It uses cmake as its build
manager.


Prerequisite libraries
----------------------

To build ipset, you need the following libraries installed on your
system:

  * pkg-config
  * libcork
  * libcork (https://github.com/redjack/libcork)
  * check (http://check.sourceforge.net)


Building from source
--------------------

The ipset library uses cmake as its build manager.  In most cases, you
should be able to build the source code using the following:

    $ mkdir build
    $ cd build
    $ cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
    $ make
    $ make test
    $ make install

You might have to run the last command using sudo, if you need
administrative privileges to write to the $PREFIX directory.