On Thu, 18 Apr 2013 12:07:25 +0200 Marc Haber <mh+debian-devel@zugschlus.de> wrote: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy <plessy@debian.org> > wrote: > >The tool you are looking for is "mk-build-deps" from the package "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependencites, put that .deb into an local > aptable archive, run apt-get update and apt-get install $PACKAGE. > > Am I the only one who thinks this is terribly backwards as compared to > hand-editing dpkg-checkbuildep's output to an apt-get install command > line? It is how the classic pbuilder satisfy depends works, so it is proven technique. If you want code which looks at the ./debian/control file in the same way as dpkg-checkbuilddeps and then builds an apt-get install command, use embuilddeps from the xapt package. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
Attachment:
pgp0kexNAvrIx.pgp
Description: PGP signature