[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [help] modern packaging of multi-precision scientific library



Hi,

Le 03/09/2014 10:24, Ghislain Vaillant a écrit :
Hi everyone,

I am currently working on packaging 2 libraries (potentially a 3rd one too)
which supports multi-precision arithmetic (single, double and long double),
similar to what FFTW does. So from the source package, one can build
different binary package corresponding to each precision. For each
precision, the configure flags and library suffix need to be changed to
produce each version of the library with non-clashing names. Since, the
source package uses autotools, this can be achieved with dh-autoreconf I
suppose.

I could take a similar d/rules as in FFTW but it looks quite dated. I am
sure the package build process could be somewhat modernized and simplified
using dh commands and overrides. However, I am not sure which approach
would be possible or best.

Thoughts anyone ?

I think it could interest upstream ; you could see how things are done in palp's GNUMakefile.am and propose a patch upstream:
 http://anonscm.debian.org/gitweb/?p=debian-science/packages/palp.git

Snark on #debian-science


Reply to: