<quote who="James Gray">

> Here's the way I read the man pages (as root):
> apt-get source <package>
> cd <package>
> ./configure --with-all-the-opts-i-need
> dpkg-buildpackage
> dpkg -i <package>.deb
> 
> Or is there a better way??  Thanks in advance folks :)

Sure, try this:

  apt-get source <package>
  vi <package>*/debian/rules
  (modify the configure arguments in here, under the configure rule [1])
  dpkg-buildpackage -uc -us -rfakeroot [2]
  dpkg -i ../<package>*.deb

[1] depending on what you're changing, you might have to get your hands
dirty on more detailed packaging foo, even if you just add a configure
parameter. this will generally only happen with complicated and/or messy
packages.

[2] because you should always build your packages/software/anything as an
unprivileged user! :-)

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia         http://lca2004.linux.org.au/
 
     "The Irish were next, being the only people who could credibly be
    accused of lowering the tone of a society of convicts." - Guy Rundle
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to