Some questions about packages in Ubuntu.

Michael R. Head burner at suppressingfire.org
Thu Mar 16 15:11:25 UTC 2006


On Thu, 2006-03-16 at 15:53 +0100, Luca Manganelli wrote:
> On 3/16/06, Michael R. Head <burner at suppressingfire.org> wrote:
> > > 2) I saw that there are sources repositories. If I want to compile,
> > > i.e., the wget package, how can I do that?
> >
> > sudo apt-get build-dep <packagename>
> > apt-get source <packagename>
> > cd <packagename>-<version>
> > fakeroot dpkg-buildpackage -us -uc
> 
> Thank you, but how can I set compiler parameters (optimization flags)?

You can modify the rules file in the debian directory (it's just a
makefile). This is what dpkg-buildpackage calls to build the actual
package.

mike

> 
-- 
Michael R. Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060316/31ea1a03/attachment.pgp>


More information about the ubuntu-users mailing list