Last active
March 17, 2021 14:41
-
-
Save UndeRus/39de05ee6d76fb050b1736bfb2e225a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
rm -fr mumble-build-new | |
sudo apt-get install build-essential fakeroot devscripts quilt libprotobuf-dev libprotoc-dev libgrpc++-dev protobuf-compiler-grpc -y | |
sudo apt-get build-dep mumble-server -y | |
mkdir mumble-build-new | |
pushd mumble-build-new | |
apt-get source mumble-server | |
SRC=`find . -maxdepth 1 -type d -name '*mumble*' -print -quit` | |
pushd $SRC | |
echo "Current path $(pwd)" | |
pushd debian | |
sed '/CONFIG\*=c++11.*/a \\tCONFIG\*=grpc \\' rules > rules_new | |
rm rules | |
mv rules_new rules | |
popd | |
debuild -b -uc -us -j3 | |
popd | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment