mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-26 23:04:23 +00:00
12f4148608
This commit now install everything with FHS-compliant structure (/usr/local/bin/hl2_launcher and lib/libtier0.so lib/lib...). Binaries and libraries now uses rpath and not depends on local bin/ directory unlike original Valve's Source.
12 lines
374 B
Bash
Executable File
12 lines
374 B
Bash
Executable File
install#!/bin/sh
|
|
|
|
git submodule init && git submodule update
|
|
sudo dpkg --add-architecture i386
|
|
sudo apt-get update
|
|
sudo apt-get install -y g++-multilib gcc-multilib libbz2-dev:i386
|
|
|
|
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
|
|
./waf install &&
|
|
cd out &&
|
|
./bin/unittest
|