Hi, I've tried to packetize a library a friend of my has written. He uses a autoconf-script, and 'make install' places the libraries in /usr/local/lib and the headers in /usr/local/include. My debian/rules-file calls ./configure with --prefix=/usr. I've initially created the package using 'dh-make -e simon.martin.gmx.at -f ../libgnotify-0.6.tar.gz' and modified all important files after that (to be honest: all files that seem important to me -- copyright, control, changelog and watch) and removed the others. Then I've called 'dpkg-buildpackage -rfakeroot', which also seems to work fine. All files are created properly in debian/tmp/usr/, especially debian/tmp/usr/lib/libgnotifylib.so (symlinked correctly to libgnotifylib.so.0.0.0) and debian/tmp/usr/include/gnotifylib/libgnotify.h.
The only warning I get is the following: ---- /usr/bin/install -c .libs/libgnotifylib.lai /home/simon/libgnotify/libgnotify-0.6/debian/tmp/usr/lib/libgnotifylib. la /usr/bin/install -c .libs/libgnotifylib.a /home/simon/libgnotify/libgnotify-0.6/debian/tmp/usr/lib/libgnotifylib.a ranlib /home/simon/libgnotify/libgnotify-0.6/debian/tmp/usr/lib/libgnotifylib.a chmod 644 /home/simon/libgnotify/libgnotify-0.6/debian/tmp/usr/lib/libgnotifylib.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[3]: Für das Ziel "install-data-am" ist nichts zu tun. [there's nothing to do for target "install-data-am"] --- Lintian can't find any errors. I'm requested to enter my gpg-passphrase, and the .deb, the .dsc, the .changes and so on are created. The only problem is: ---- simon:~/libgnotify$ dpkg --contents libgnotify1_0.6-1_i386.deb drwxr-xr-x root/root 0 2004-04-14 00:11:22 ./ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/ drwxr-xr-x root/root 0 2004-04-14 00:11:18 ./usr/lib/ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/share/ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/share/doc/ drwxr-xr-x root/root 0 2004-04-14 00:11:21 ./usr/share/doc/libgnotify1/ -rw-r--r-- root/root 200 2004-04-12 01:53:35 ./usr/share/doc/libgnotify1/c hangelog.gz -rw-r--r-- root/root 574 2004-04-12 13:28:04 ./usr/share/doc/libgnotify1/c opyright -rw-r--r-- root/root 157 2004-04-12 13:22:13 ./usr/share/doc/libgnotify1/c hangelog.Debian.gz simon:~/libgnotify$ dpkg --contents libgnotify-dev_0.6-1_i386.deb drwxr-xr-x root/root 0 2004-04-14 00:11:22 ./ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/ drwxr-xr-x root/root 0 2004-04-14 00:11:18 ./usr/lib/ drwxr-xr-x root/root 0 2004-04-14 00:11:18 ./usr/include/ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/share/ drwxr-xr-x root/root 0 2004-04-14 00:11:19 ./usr/share/doc/ drwxr-xr-x root/root 0 2004-04-14 00:11:21 ./usr/share/doc/libgnotify-de v/ -rw-r--r-- root/root 200 2004-04-12 01:53:35 ./usr/share/doc/libgnotify-de v/changelog.gz -rw-r--r-- root/root 25 2004-04-11 15:15:06 ./usr/share/doc/libgnotify-de v/NEWS.gz -rw-r--r-- root/root 0 2004-04-11 15:15:06 ./usr/share/doc/libgnotify-de v/README -rw-r--r-- root/root 0 2004-04-11 15:15:06 ./usr/share/doc/libgnotify-de v/TODO -rw-r--r-- root/root 574 2004-04-12 13:28:04 ./usr/share/doc/libgnotify-de v/copyright -rw-r--r-- root/root 157 2004-04-12 13:22:13 ./usr/share/doc/libgnotify-de v/changelog.Debian.gz --- As you can see, neither libraries nor headers are within the package. Any ideas what's wrong? I'm thankful for anything. Thanks in advance, Simon
pgpF5zzxwBams.pgp
Description: PGP signature