Re: [arch-dev-public] PKGBUILD prototypes
On Thu, 2008-07-10 at 11:21 +1000, Allan McRae wrote:
K. Piche wrote:
I started using a ${_realname} var in my perl PKGBUILDS - same idea as cpanname except the "::" name isn't really needed. Check out perl-net-dns for a good example.
I am not going to use this as we generally discourage the use of custom variables. Also, this is only used in three places and does not change between releases.
Allan
Suit yourself. My only other comment would be that the man*ext settings for a Build.PL script is not required. The man extensions will be provided by perl's Config.pm during build. I was sure I had posted a Build.PL example on the wiki but I can't find it now. A Makefile.PL one is in the perl policy page. k -- K. Piche <kpiche@rogers.com>
K. Piche wrote:
On Thu, 2008-07-10 at 11:21 +1000, Allan McRae wrote:
K. Piche wrote:
I started using a ${_realname} var in my perl PKGBUILDS - same idea as cpanname except the "::" name isn't really needed. Check out perl-net-dns for a good example.
I am not going to use this as we generally discourage the use of custom variables. Also, this is only used in three places and does not change between releases.
Allan
Suit yourself. My only other comment would be that the man*ext settings for a Build.PL script is not required. The man extensions will be provided by perl's Config.pm during build. I was sure I had posted a Build.PL example on the wiki but I can't find it now. A Makefile.PL one is in the perl policy page.
k
Thanks for pointing that out. I hadn't noticed that this was all handled in the main perl PKGBUILD now. Allan
Suit yourself. My only other comment would be that the man*ext settings for a Build.PL script is not required. The man extensions will be provided by perl's Config.pm during build. I was sure I had posted a Build.PL example on the wiki but I can't find it now. A Makefile.PL one is in the perl policy page.
OK, thanks. I had out in in my prototype but I think it was based on a PKGBUILD with Build.PL that you had made before perl 5.10 was put in extra. F
On Thu, 2008-07-10 at 15:35 +0200, Firmicus wrote:
Suit yourself. My only other comment would be that the man*ext settings for a Build.PL script is not required. The man extensions will be provided by perl's Config.pm during build. I was sure I had posted a Build.PL example on the wiki but I can't find it now. A Makefile.PL one is in the perl policy page.
OK, thanks. I had out in in my prototype but I think it was based on a PKGBUILD with Build.PL that you had made before perl 5.10 was put in extra.
F
Yep. pkgrel=0 needed man*ext set. For pkgrel>0 the Config.pm file man*ext defaults are tweaked after perl is compiled. k -- K. Piche <kpiche@rogers.com>
participants (3)
-
Allan McRae
-
Firmicus
-
K. Piche