This repository is deprecated and has been replaced with https://github.com/SynoCommunity/spksrc
All-in-one tool to cross-compile and make Synology Packages (SPK)
- Grab your copy of syno-packager
git clone git://github.com/Diaoul/syno-packager.git
or fork it if you want to contribute - Download precompiled toolchains (see here)
- Download external packages (see here)
- Create the rules you need in rules.mk in the corresponding category folowing multiple examples you can find in it
- Create a myPackage.mk with variable definitions folowing otherPackages.mk examples
- Do some debug using basic rules (see below)
- Once everything is compiling well, make the folder src/myPackage using folowing src/otherPackages examples
- Test the SPK by yourself
- Release it !
- Please submit a Pull Request to make Syno-Packager even better
- Want to try to build your package ?
make -f myPackage.mk
- This is a real mess, how do I clean it ?
make -f myPackage.mk clean
- Just want to try to compile mySubPackage which is a dependency of myPackage (ie OpenSSL) ?
make -f myPackage.mk mySubPackage
- Now everything is compiled, how do I make the SPK for my arch ?
make -f myPackage.mk spk
- How do I test it from nothing ?
make -f myPackage.mk release
- Oh my god this is working, how do I share it ?
make -f myPackage.mk realeaseall
then put that online
Get some help typing make help
and make -f myPackage.mk tests
to see variables
Official SPKs can be dowloaded directly from Synology's website
A wiki about SPKs is available but a little outdated as some things have changed since DSM 3 3rd-Party Apps Integration Guide is very handy and up-to-date