Like this: "Add a Binary Payload to your Shell Scripts | Linux Journal" or "How do Linux binary installers (.bin, .sh) work?" which could be found with about 15 seconds of Google time. There are even some tools that do part of the packaging for you.
You still need to work out what needs to be copied, and where it should be installed, and how to make your shell script tolerant of platform differences
Bookmarks