Do a "ls" and see wheather theres a "Makefile" or something like that. If so I shall tell you the typical steps. But read the READMEs and Manuals available, they will contain the information you need. And look for a file "configure" with eXecute permissions set.
The following would typically work (assuming that you are currently in that directory.)
Lokk in the readmes for more options and parameters. After cofiguring finishes successfully,
When its also finished successfully
Be warned, these are only generic. Always refer to the documentation related.