In this section, we will explain how to create a Synology Package using Package Toolkit.
If you want to build a Synology Package without using Package Toolkit, you must:
- Prepare a cross compile tool chain
- Prepare a build environment
- Prepare metadata
- Compile source code
- Create and sign the package
Creating a package manually can be very complex for most developers, so we recommended using the Package Toolkit to make the package creation process easier. To make the package creation process go smoothly, you will still need to write some scripts describing how you want to build and create your packages.
In the following sub-sections, the necessary scripts will be stated in detail.
You can download the example source from github: Synology OpenSource