Your posting is a bit confusing. It mixes makefiles (something that is executed by the make tool) with Perl bundles, mostly provided by CPAN. It is certainly possible to use make as a quasi-installer, but it will be much more efficient to use some script file to do the job. Bash is one alternative for this, but since this whole thing seems to be very Perl-centered, you should even more consider a Perl script.
The script basically will uncompress/unpack the tar file to some known location, and then runs the appropriate method of installation. The appropriate method depends on the type of software to be installed. For Perl packages obviously CPAN.
----------
T74marcell
Arch Linux