8000 GitHub - Diaoul/syno-packager: Scripts, changes, tools to compile and package different programs for Synology NAS devices.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 15, 2020. It is now read-only.
/ syno-packager Public archive
forked from sarav/syno-packager

Scripts, changes, tools to compile and package different programs for Synology NAS devices.

License

Notifications You must be signed in to change notification settings

Diaoul/syno-packager

 
 

Repository files navigation

DEPRECATION NOTICE

This repository is deprecated and has been replaced with https://github.com/SynoCommunity/spksrc

Syno-Packager

All-in-one tool to cross-compile and make Synology Packages (SPK)

HOW-TO

  1. Grab your copy of syno-packager git clone git://github.com/Diaoul/syno-packager.git or fork it if you want to contribute
  2. Download precompiled toolchains (see here)
  3. Download external packages (see here)
  4. Create the rules you need in rules.mk in the corresponding category folowing multiple examples you can find in it
  5. Create a myPackage.mk with variable definitions folowing otherPackages.mk examples
  6. Do some debug using basic rules (see below)
  7. Once everything is compiling well, make the folder src/myPackage using folowing src/otherPackages examples
  8. Test the SPK by yourself
  9. Release it !
  10. Please submit a Pull Request to make Syno-Packager even better

Basic rules

  • 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

Help

Get some help typing make help and make -f myPackage.mk tests to see variables

Downloads

Official SPKs can be dowloaded directly from Synology's website

Documentation

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

About

Scripts, changes, tools to compile and package different programs for Synology NAS devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • JavaScript 81.6%
  • CSS 5.7%
  • Python 5.5%
  • Shell 4.7%
  • Makefile 2.0%
  • PHP 0.3%
  • Other 0.2%
0