I tried to package something on debian many years ago before and gave up.
Apparently there were two sets of tools and I never could find good documentation on the “modern tools” or make sense of the docs for the older tools.
I wonder if the station has gotten better.