A PostgreSQL Compilation in Debian

Hello,
I would like to ask please if anyone has “a how to” describing in details how to compile apostgreSQL plug-in in debian distribuation.
Regards,

Hello,

Please check the source code of the official Debian package:
https://packages.debian.org/unstable/orthanc-postgresql

The “debian/rules” file contains the build instructions:
https://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc-postgresql/trunk/debian/rules?view=markup