#
#wavpack script compiler REV 31082021 by KAPITALSIN
#
sudo apt-get install git autoconf libtool
git clone https://github.com/dbry/WavPack.git wavpack
cd wavpack
mkdir -p build
./autogen.sh
./configure --enable-static --disable-shared 
make -j3 LDFLAGS="-all-static"
cp cli/wavpack build
cp cli/wvgain build
cp cli/wvtag build
cp cli/wvunpack  build
strip build/*
echo "Binaries are in wavpack/build"
