Basic Packaging
Zurück
Weiter

Kapitel 3. Basic Packaging

Inhaltsverzeichnis

Packaging From Scratch
changelog
Die "control" Datei
Copyright
rules
postinst and prerm
Building the Source Package
Paket mithilfe von Debhelper erstellen
Building the Source Package
pakete mit CDBS erstellen
CDBS in Paketen verweden
Weitere Informationen über CDBS
Pakete aktualisieren
Häufige Fehler
dh_make Beispieldateien
Den originalen Tarball verändern
Urherberrechtsinformationen

Two of the problems that many novice packagers face are that there are multiple ways of packaging, and there is more than one tool to do the job. We will go through three examples with the common build systems. First, we will use no build helper. This approach is usually the most difficult and is not often used in practice but gives the most straightforward look at the packaging process. Second, we will use debhelper, the most common build system in Debian. It helps the packager by automating repetitive tasks. Third, we will briefly cover the Common Debian Build System (CDBS), a more streamlined build system that uses debhelper.

Tipp

Package development often requires installing many packages (especially -dev packages containing headers and other common development files) that are not part of a normal desktop Ubuntu installation. If you want to avoid installing extra packages or would like to develop for a different Ubuntu release (the development one, for instance) from what you currently have, the use of a chroot environment is highly recommended. A guide to setting up a chroot can be found in the Appendix.

Zurück
Weiter
Zum Anfang