The first thing you need is amavis-perl-11.tar.gz from http://amavis.org, then
$ tar zxpvf amavis-perl-11.tar.gz
$ cp clamav-x.yz/support/amavis/clamavis.patch amavis-perl-11
$ cd amavis-perl-11
$ patch -p1 < clamavis.patch
$ find . -exec touch 01010000 {} \;
Now please do a standard AMaViS installation.