#!/bin/sh apt-get install --yes git-core cd /tmp rm -rf amr mkdir -p amr cd amr git clone git://opencore-amr.git.sourceforge.net/gitroot/opencore-amr/opencore-amr cd opencore-amr #git reset --hard e237d9192e519b556bdda60a15dbd808c0c6b34a sed -i 's/ --with quilt//' debian/rules sed -i 's/.0.50~), quilt (>= 0.46-7//' debian/control time debuild -i -us -uc -b cd .. rm -f *dbg*deb dpkg -i *.deb