DEADSOFTWARE

sdl: fix linking on linux
[flatwaifu.git] / INSTALL
1 Basic Installation
2 ==================
4 Currently to install Doom2D:Rembo from sources you need to have:
6 1. SDL and SDL_mixer (not SDL2!)
8 In Debian GNU/Linux you can install them with this command:
10 apt-get install libsdl1.2-dev libsdl-mixer1.2-dev
12 On macOS (using MacPorts):
14 sudo port install libsdl libsdl_mixer
16 2. CMake to configure
18 3. GCC or Clang to compile and make to build
20 To proceed installation:
22 1. `cd' to the directory containing the package's source code
23 e.g. `cd doom2d-rembo/src' and type
25 mkdir build
26 cd build
27 cmake ..
29 to configure installation with Cmake automatically
31 2. If CMake configured project successfully type
33 make
35 to compile project and then
37 make install
39 to install under /usr/local/bin
41 3. When compilation finished successfully simply run
43 cd ..
44 ./copy.sh
46 script to copy doom2d music and wad's to
47 /usr/share/doom2d-rembo directory.
49 4. Finally, to run Doom2D:Rembo and type
51 /usr/local/bin/doom2d
53 and enjoy game.
55 Installation with package manager
56 =================================
58 Also deb package for binary installation are provided.
59 There are both 32-bit and 64-bit packages.
61 You can install them in such way:
63 dpkg -i doom2d-rembo_1.35.1_i386.deb
65 or
67 dpkg -i doom2d-rembo_1.35.1_amd64.deb
69 Music and wad's will be installed at
70 /usr/share/doom2d-rembo directory and
71 doom2d binary at /usr/bin
73 To remove Doom2D:Rembo type
75 dpkg -r doom2d-rembo