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

Re: Need assistance in packaging / Brauche Hilfe bei der Erstellung von Paketen

Hi Björn,

Maybe someone else can give you more details, but in the meantime here
are some useful links (which should have more than enough information
to get you started if you're already familiar with packaging):

2011/11/7 Björn Esser <bjoern.esser@googlemail.com>:
> how to write/create man-pages

See https://wiki.ubuntu.com/PackagingGuide/SupplementaryFiles#Man_Pages.

> one source in multiple packages (e.g. somewhat (arch),
> somewhat-doc(no-arch), somewhat-data (no-arch), etc.), removing
> obsolete/not used files from the package

I've found http://wiki.debian.org/PkgSplit, but that page lets it look
much more scary than it actually is. To generate multiple packages,
the usual procedure is having debian/rules install everything into
debian/tmp (instead of debian/<binary-pkg-name>), and then having
debian/<binary-package-name>.install (also .docs, .manpages, etc. if
needed) to copy the files you're interested in into the correct
debian/<binary-pkg-name> directory.

Of course you'll also need additional source stanzas in debian/control
for each binary packages. If you're using debhelper 7 or CDBS they
should then handle the debian/rules part automatically.

> and in how-to package libs
> (libany, libany-dev, libany-doc, etc.)

(also http://www.debian.org/doc/debian-policy/ch-sharedlibs.html)

Hope this helps,

Siegfried-Angel Gevatter Pujals (RainCT)
Free Software Developer

Reply to: