-
Notifications
You must be signed in to change notification settings - Fork 14
/
INSTALL
64 lines (34 loc) · 1.37 KB
/
INSTALL
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
60
61
62
Build or Install Sopwith
========================
Sopwith can be installed using the following instructions.
Installing from package manager
===============================
On Debian-based systems run
sudo apt update
sudo apt install sopwith
Acquiring source code
=====================
The latest source code for Sopwith can be downloaded from GitHub at
https://github.com/fragglet/sdl-sopwith
This can be done by using git
https://github.com/fragglet/sdl-sopwith.git
Alternatively the source code can be downloaded as an archive from
https://github.com/fragglet/sdl-sopwith/releases
Releases can be unpacked using the command
tar xf sopwith-X.Y.Z.tar.gz
Where X Y Z are the latest version numbers.
Building from source
====================
Sopwith requires minimal dependencies and can usually be built with
just the following items: A C compiler, build system (make) and autoconf tools.
On Debian (and related Linux distributions) it is possible to build sopwith using
the following commands
sudo apt install libsdl2-dev dh-autoreconf autogen build-essential
Then, in the sopwith top-level source code directory (sdl-sopwith) run
./configure && make
Or if building from Git:
./autogen.sh && make
Optionally you can then either run a local copy of Sopwith using:
src/sopwith
Or install the program by running
sudo make install