Re: [Hampshire] Debian packaging: is there a complete set of…

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] Debian packaging: is there a complete set of instructions anywhere?
> http://liw.iki.fi/liw/talks/debian-packaging-tutorial.pdf is pretty good

Yeah - a good primer, but doesn't seem to give me what I need :-(

> Most debian source packages consist of:
> ...orig.tar.gz (pristine (i.e. unchanged _at all_) upstream tarball
> ...diff.gz (changes)


That's a shane; I've got used to SRPMs, where you get a single file
download consisting of pristine tarball, patch file, and build rules.
SRPMs do seem the superior option here - particularly in light of them not
requiring a rename of the pristine tarball...

>> Next up, I seem to have misunderstood the $(DESTDIR) bit of the
>> maintainer;s guide
>
> Basically the files should be installed under
> bar-version/debian/tmp
> or
> bar-version/debian/package


Ah. Perhaprs I haven't misunderstood $(DESTDIR)...

I think I'm about to take an executive decision of not publishing debian
source packages; I'm not convinced I can build a source package that
mirrors the binary I can create from the RPM.

Vic.