File: install

package info (click to toggle)
subtitlecomposer 0.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,920 kB
  • ctags: 3,521
  • sloc: cpp: 29,965; xml: 83; sh: 58; python: 53; ruby: 42; makefile: 24
file content (16 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

cd "$(dirname "$0")"

rm -rf build >/dev/null 2>&1
mkdir build
cd build && \
cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
    -DBUILD_TESTING=OFF \
    .. && \
make -j4 && \
sudo make install