3 The gnokii Packaging HOWTO
8 Read this document if you want to build gnokii binary packages for your
9 system or repackage gnokii for a system that is not yet supported.
14 For more install/compilation information see the INSTALL file.
16 Makefiles support 'make install prefix=<your_directory>' for package
17 building. For example, in .spec:
19 ./configure --prefix=/usr
21 make install prefix=$RPM_BUILD_ROOT/usr
23 (You do not need to create any directories - just 'make && make install'.)
25 For installation procedures use 'make install' or 'make install prefix=',
26 and verify that all outputs from the procedure are correct.
28 Please, DO NOT make any corrections using your package-specific build
29 system (for example, using 'cp' in packaging scripts like .spec).
30 Installation is a job for Makefiles. Writing different installation
31 procedures for different packaging systems is the road to hell...
33 The only exception to the above rule is documentation. 'make install'
34 does not install documentation - one should use each distributions'
35 packaging routines for this job. If you want to install docs via a
36 Makefile use 'make install-docs'.
39 SYSTEM-SPECIFIC INFORMATION
43 1) Add new lines to Debian/changelog and set the correct version number
46 2) Check the following files:
48 rules, menu, docs, *.manpages
50 3) Since gnokii's debian directory is in the subdirectory 'packaging'
51 which is totally non-standard for the Debian package building system,
52 you must first 'cd' to the top gnokii directory and type:
54 ln -s packaging/Debian debian
56 4) In the top gnokii directory type:
58 fakeroot debian/rules binary
62 fakeroot debian/rules clean
66 The .deb packages will appear in the directory ABOVE the top gnokii
69 Alternatively, if you want to build everything including sources (.tar.gz,
70 .dsc, and .changes files), go to the top gnokii directory and type:
72 dpkg-buildpackage -rfakeroot
74 instead of invoking "debian/rules binary" directly. Note that you will
75 need the fakeroot package installed, but are there any Debian developers
76 that don't have that one installed? Nope. If you want to sign the
77 packages with your own PGP key, you will need to make a new first entry
78 in the Debian changelog.
85 rpm -ta gnokii-$VERSION.tar.gz
87 where $VERSION is the version of the gnokii distribution that you are
93 1) Create a gnokii directory and put the gnokii tarball there:
97 cp gnokii-X.Y.Z.tar.gz gnokii
99 2) Extract SlackBuild from the tarball and copy it into the gnokii
102 tar xzf gnokii-X.Y.Z.tar.gz
104 cp gnokii-X.Y.Z/packaging/Slackware/SlackBuild gnokii
110 chmod 755 ./SlackBuild ; ./SlackBuild
112 4) A Slackware package is now located in /tmp/gnokii.tgz.
125 Erik Rossen <rossen@freesurf.ch>
127 * fixing Debian notes to mention 'fakeroot' and 'dpkg-buildpackage'
131 Erik Rossen <rossen@freesurf.ch>
133 * fixing English grammar and spelling errors, but no change of information
135 * changing to a flatter format for easier editing: sections separated
136 by double spacing and only system commands indented with a tab
138 * file is always treated with GNU 'fmt' with no options
140 Pawel Kot <pkot@linuxnews.pl>
142 * Slackware build instructions added