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

Re: newbie packaging question



Eric Winger wrote:
> So two questions, does the source package need to be raw code or is it
> specific term to refer to a C source filled directory? And two, is my
> goal reasonable for a first-timer?
No, technically the source package is just the combination of upstream
distribution and debian modifications. Most easily are native packages where the
two coincide (e.g. dput, debhelper, see below).  Otherwise the .orig.tar.gz
contains the upstream source (or your binaries) and the diff.gz will  be filled
with your debian packaging stuff. Just put your binary in a tar.gz and apply
dh_make to that if you want.

The goal is only semi-reasonable because you could really use alien (man alien)
for this. However, if you want to do it, probably most things you lern will be
of use to you for other packages.

Free advice not asked for: Learn by example and look at a debian-native script
package (e.g. debhelpr or dput). Most of the things seen there apply to your
"binary-only" packages as well. (Though you'd need to add shlibdeps etc.)

Of course, all this is technical stuff for trying things and internal
distribution. For distribution, proper packages with sources are peferred. ;)

Cheers

T.

Attachment: pgpYRNQQOytKh.pgp
Description: PGP signature


Reply to: