What is the Ubuntu way of downloading the source for a package and then building it while passing specific flags to the configure portion of the process? I hope I'm explaining what I mean properly.
Installing from source follows almost always the following procedure:
./configure --FLAG-1 --FLAG-2
make && make install
How can I get control over specifying flags1 and 2 in the configure process?