File: INSTALL

package info (click to toggle)
nfqueue-bindings 0.4-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: ansic: 257; python: 211; perl: 183; makefile: 28; sh: 25
file content (44 lines) | stat: -rw-r--r-- 933 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
35
36
37
38
39
40
41
42
43
44

Prerequisites
-------------

cmake
libnetfilter-queue
swig
python development files
perl development files

You'll also need a fairly recent kernel (>= 2.6.18 to work, but some
functions such as set_qmax_len require a kernel >= 2.6.20).

Compilation
-----------

A Makefile has been written to wrap cmake call

Running 'make' will:

 - Create a subdirectory build/
 - Go in that directory and call cmake ..
 - Call make to build the librairies

If the pkg-config files for libnetfilter-queue are in a non-standard
directory, export the following variable before calling make::

 export PKG_CONFIG_PATH=/path/to/prefix/lib/pkgconfig/

To remove the build files, run 'make clean' or just remove the build
directory.

Installation
------------

Edit the toplevel makefile, and set the PREFIX variable::

 PREFIX = /usr/local

or, alternatively, set the contents of the value when running make::

 make
 make PREFIX=/usr/local install