LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Configuring Source Packages.... (https://www.linuxquestions.org/questions/debian-26/configuring-source-packages-259473/)

lusers 11-26-2004 07:10 AM

Configuring Source Packages....
 
How does one go about configuring a Debian Source Package before building it?

i.e.

What is the debian equivalent of

./configure --with-whatever-options-you-want
make dep
make
make install
make clean

This is what the extent of my knowledge:

apt-get source <package-name>
apt-get build-dep <package-name>
dpkg-buildpackage -rfakeroot -b

But this misses out the stage where I can specify extra compile time options...

basically, how can i ./configure --with-my-options ?

I know I could just download the generic source and do it the normal way, but then apt/dpkg would be in a mess, I suppose I could just uninstall the package, and then hold it.... but Im sure that's not the proper way to do it...

cheers in advance for any help..

regards

lusers

shmonkey 11-26-2004 08:47 AM

I think the proper way to do it is to use apt-src.

I have not tried it myself, so once you install apt-src all I can suggest is #man apt-src ;)

Regards

Shmonkey


All times are GMT -5. The time now is 07:27 AM.