/usr/bin/cpan2dist
The cpan2dist script will create distributions of 'CPAN' modules of the format you specify, including its prerequisites.