[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically satisfying Build-Depends from local control file



On Tue, Apr 16, 2013 at 09:19:27PM -0700, Nikolaus Rath wrote:
> Has someone already written a tool to automate this? I.e., parse
> debian/control and run the appropriate apt-get command?
> 
> I think I am *not* looking for apt-get build-deps, because I'm talking
> about source packages not included in an apt repository. 

You could use sbuild.  Just run "sbuild -s -A -d $distribution"
in the directory, and it'll get all the build-deps for you and
do the build, albeit in a chroot rather than installing on the
host system. You'll need to create a build chroot with
sbuild-createchroot first.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: