In the Apple ecosystem, a .pkg is a standard installer format. If you have a binary executable and want to distribute it as a package:
The process of converting (disc image) files to .PKG (package) files is primarily used by the console homebrew community to make retro games (like PS1 and PS2 titles) playable directly from the main menu of a modded PlayStation 3 or PlayStation 4 . Popular Tools & Reviews Review Summary PS3 Classics GUI PS2 to PS3 conversion bin to pkg
Methodology
fpm -s dir -t deb -n myapp -v 1.0 \ /path/to/binary=/usr/local/bin/myapp In the Apple ecosystem, a