Re: Problem with packaging of perl module
Le Mon, Jul 05, 1999 at 02:52:52PM +0200, Florian Hinzmann écrivait:
> I've found out about this after uploading libnet-dns-perl_0.12-3
> to incoming at master. I will not delete it from incoming, at least
> it does not depend on perl and works.
>
>
> I'd be glad to receive some help with this.
I'm looking at the .diff.gz and I see some errors :
+config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(T
MP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5
+INSTALLARCHLIB = $(TMP)$(archlib)
Those two lines should be only one. INSTALLARCHLIB=$(TMP)$(archlib) must
be part of $(config).
And juste after $(PERL) Makefile.PL $(config), you can add a $(MAKE) even
if you package is an arch all one. It will generate the man page from the
.pm and install them in ./blib, make pure_install will then move the file
from ./blib into debian/tmp ...
And further :
+ $(MAKE) pure_install DESTDIR=`pwd`/debian/tmp
You must remove DESTDIR=`pwd`/debian/tmp, this information has already
been given at configure time through the $(config) options, it will only
produce strange result like having in your package files in /home/rhertzog
and so on.
And if there's no dependency that's because your package does not
include any perl related file ! The only files that are in your
packages are in /usr/doc/libnet-dns-perl/ ...
That's why I removed your package from Incoming. If you need the files,
they are in ~hertzog/ ...
Cheers,
--
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/
Reply to: