"Fossies" - the Fresh Open Source Software Archive

Member "MP3Diags-unstable-1.5.01/BuildBz2.sh" (19 Jan 2014, 690 Bytes) of package /linux/privat/MP3Diags-unstable-1.5.01.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. See also the latest Fossies "Diffs" side-by-side code changes report for "BuildBz2.sh": 1.3.04_vs_1.5.01.

    1 #!/bin/bash
    2 #
    3 # Builds MP3 Diags linking Boost libraries statically, if possible, for creation of "generic" binaries
    4 #
    5 # Tested on several systems only
    6 # ttt1 Quite likely this needs changes to work with other distros and / or versions
    7 #
    8 # by passing the param "QMAKE_CXX=clang" the project will be compiled with clang
    9 
   10 if [ -d bin ] ; then
   11     rm bin/*
   12 fi
   13 
   14 MP3_DIAGS_STATIC=STATIC_SER
   15 . ./Build.sh
   16 
   17 Cpu=`uname -m`
   18 
   19 NewName=$MP3DiagsExe-Linux-$Cpu-1.5.01
   20 mv bin/$MP3DiagsExe bin/$NewName
   21 # force gnu format because some not very old tools have trouble understanding the newer pax format
   22 tar -H gnu -c bin | bzip2 > $NewName.tar.bz2
   23 mv $NewName.tar.bz2 bin
   24 mv bin/$NewName bin/$MP3DiagsExe
   25