"Fossies" - the Fresh Open Source Software Archive

Member "kaffeine-2.0.18/tools/build-kaffeine.sh" (14 May 2019, 414 Bytes) of package /linux/misc/kaffeine-2.0.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 set -eu
    3 
    4 if [ "$(grep KAFFEINE_MAJOR_VERSION CMakeLists.txt)" == "" ]; then
    5   echo "Entering into the Kaffeine dir"
    6   cd kaffeine
    7 fi
    8 
    9 # not for production use
   10 
   11 sourcedir=$(pwd)
   12 
   13 cd ..
   14 
   15 rm -rf kaffeine_build
   16 git new-workdir $sourcedir kaffeine_build
   17 cd kaffeine_build
   18 
   19 rm -fr $sourcedir/install
   20 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$sourcedir/install -DSTRICT_BUILD=1 .
   21 make
   22 make install