On Thu, Nov 10, 2005 at 07:25:35PM +0100, Timo Steuerwald wrote:
Hi all,
I try to create packages for sipX from sipfoundry.org. This is a PBX
like asterisk and is composed of a few subprojects like sipXportLib,
sipXtackLib...
I now tried to create a package for sipXportLib.
What I have done up to now:
1. Read http://www.debian.org/doc/maint-guide/ completely :-)
2. executed dh_make -e <my email address>
3. filled files like copyright, control and so on with useful information
4. tried to build it via dpkg-buildpackage -rfakeroot
This has completed successfully, but inside the packages data.tar.gz ins
nearly empty. There exists only parts of the data that belongs to the
debian subdirectory (like usr/share/doc/sipxportlib/copyright). No libs,
nothing. The same for the -dev package: No documentation, include files
and so on.
If I look now to the debian subdirectory, there are three subdirectories
tmp (which is my DESTDIR in the rules file), sipxportlib and
sipxportlib-dev. The last two only contain the same files as in the
packages. What can I do to add the files from DESTDIR to the two
packages? - I thought <package-name>.dirs and <package-name>.files are
handling this.
If I understand your intent, you want the package to "make install" to
./debian/tmp/, and then you want *.dirs and *.files to copy them from
that location to ./debian/package/, where they will be installed into
the package. Right?
Firstly, you should know that ./debian/tmp/ was the install directory
for old versions of debhelper. Nowadays its ./debian/$package/. It
shoulds like this is working the way it should be, but you should
check that ./debian/dh_compat exists and contains a "4".