[aur-general] Request for PKGBUILD check: perl-pdl 2.4.9-1

2011-07-13 Thread Anton Leontiev
Hi, all!

Could you help me with PKGBUILD for Perl's PDL module?

Currently I'm stuck with makedepends/optdepends. There is a number of
dependencies which are optional, but to get PDL work with them as with
optional packages in Arch, it should be compiled with them. So I added
the in both makedepends and optdepends. Am I right?

What are official recommendations for AUR packages in this case?

Thank you in advance.

-- 
Anton Leontiev bun...@t-25.ru


Re: [aur-general] Request for PKGBUILD check: perl-pdl 2.4.9-1

2011-07-13 Thread Peter Lewis
Hi,

On Wed, 13 Jul 2011, Anton Leontiev wrote:
 Currently I'm stuck with makedepends/optdepends. There is a number of
 dependencies which are optional, but to get PDL work with them as with
 optional packages in Arch, it should be compiled with them. So I added
 the in both makedepends and optdepends. Am I right?

Yes. If they're optional dependencies to enable extra functionality, but are
required to be present at compile time to enable this, then you should add them
to makedepends as well.

The only purpose of optdepends to my knowledge is to provide the user with a
nice message when they install the package to let them know that the package
will have some extra functionality if some other packages are also installed.

Pete.