checkinstall

perfect for debian, slack, or rpm distros