How to use swift package init --type system-module

I want to wrap imageMagic

is there a particular capability of imagemagick you are trying to use?

I found a blog. I wonder if it's still so complicated now?

https://mikemikina.com/blog/watermarking-photos-with-imagemagick-vapor-3-and-swift-on-macos-and-linux/

And I tested unsuccessfully on Linux.