1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
debmake for Debian
------------------
To debianize a packet:
1. Uncompress the source packet that you got via ftp.
2. Rename the source package to conform to the debian scheme of naming
things. No uppercase! Sourcepackage name separated by - from the version.
3. cd in to the source package
4. execute "deb-make"
5. Customize files in debian and do whatever is needed to make the "make
install" put the files into the correct directories in debian/tmp. By
default debian/rules will pass a environment variable DESTDIR pointing
to the absolute path of debian/tmp. If you put DESTDIR in front of all
the absolute filenames used for installing the package in the Makefile
then the regular installation will still work. You might submit a patch
to the author to this effect.
Remember this is to get you started. You can edit lots of things in the
debian directory. Read especially the "debstd" manpage because this governs
how your package is generated. The *.ex files are examples customized for
your package that you can activate by removing the .ex ending. If you
want to get rid of those simply delete them.
The debian/dirs file
--------------------
Usually install scripts do not install directories like /usr/share/man for
you. The "dirs" file needs to be edited to contain the RELATIVE
directorynames that your package needs. Example:
usr/bin
usr/share/man/man{1,5}
Christoph Lameter <clameter@waterf.org>
|