I will need help with this. I’m not familiar with Debian packaging, nor
with the technologies used to build the libmilter package.
I think a simple milter.pc file would look something like the following:
------------------------------------------------------------------------
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
Name: milter
Description: Sendmail Mail Filter API (Milter)
Version: 8.15.2
Libs: -L${libdir} -lmilter
Cflags: -I${includedir}
------------------------------------------------------------------------
It needs to be installed at the ‘multiarch .pc file path’:
https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html#_the_multiarch_emphasis_role_strong_pc_emphasis_file_path
Here’s a random package that generates a .pc file with make, perhaps it
can be used for inspiration:
https://salsa.debian.org/debian/lcms2/blob/master/lcms2.pc.in
So those are the pieces. If someone familiar with the libmilter build
could help integrate it, I would be very grateful.
Thank you,
David
Attachment:
signature.asc
Description: PGP signature