sudo apt-get install -y git
#sudo apt-get install -y git-core gcc g++ realpath make patch bzip2 byacc python-urlgrabber bison gawk texinfo
sudo apt-get install -y git-core g++ realpath patch make python-urlgrabber bison gawk texinfo autoconf screen
# byacc
wget http://mirrors.kernel.org/ubuntu/pool/universe/b/byacc/byacc_20130925-1_i386.deb
dpkg -i byacc_20130925-1_i386.deb
git config --global color.ui auto
# check out source
git clone git://git.ipfire.org/ipfire-2.x.git
ln -sf /bin/bash /bin/sh
cd ipfire-2.x/
./make.sh downloadsrc
./make.sh gettoolchain
git remote update
./make.sh build
http://wiki.ipfire.org/de/development/git
http://wiki.ipfire.org/de/development/build