File: INSTALL

package info (click to toggle)
fomp 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,084 kB
  • sloc: python: 27,994; cpp: 3,759; makefile: 20
file content (59 lines) | stat: -rw-r--r-- 1,512 bytes parent folder | download | duplicates (35)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Installation Instructions
=========================

Basic Installation
------------------

Building this software requires only Python.  To install with default options:

    ./waf configure
    ./waf
    ./waf install

You may need to become root for the install stage, for example:

    sudo ./waf install

Configuration Options
---------------------

All supported options can be viewed using the command:

    ./waf --help

Most options only need to be passed during the configure stage, for example:

    ./waf configure --prefix=/usr
    ./waf
    ./waf install

Compiler Configuration
----------------------

Several standard environment variables can be used to control how compilers are
invoked:

 * CC:        Path to C compiler
 * CFLAGS:    C compiler options
 * CXX:       Path to C++ compiler
 * CXXFLAGS:  C++ compiler options
 * CPPFLAGS:  C preprocessor options
 * LINKFLAGS: Linker options

Installation Directories
------------------------

The --prefix option (or the PREFIX environment variable) can be used to change
the prefix which all files are installed under.  There are also several options
allowing for more fine-tuned control, see the --help output for details.

Packaging
---------

Everything can be installed to a specific root directory by passing a --destdir
option to the install stage (or setting the DESTDIR environment variable),
which adds a prefix to all install paths.  For example:

    ./waf configure --prefix=/usr
    ./waf
    ./waf install --destdir=/tmp/package