Skip to content

Cross compilation framework to create native packages for the Synology's NAS

License

Notifications You must be signed in to change notification settings

fat-fred/spksrc

 
 

Repository files navigation

spksrc

spksrc is a cross compilation framework intended to compile and package software for Synology NAS devices. Packages are made available via the SynoCommunity repository.

Contributing

Before opening issues or package requests, see CONTRIBUTING.

Setup Development Environment

Docker

  • Fork and clone spksrc: git clone https://[email protected]/You/spksrc.git ~/spksrc
  • Install Docker on your host OS: Docker installation. A wget-based alternative for linux: Install Docker with wget.
  • Download the spksrc docker container: docker pull synocommunity/spksrc
  • Run the container with docker run -it -v ~/spksrc:/spksrc synocommunity/spksrc /bin/bash

Virtual machine

A virtual machine based on an x86, 32-bit version of Debian stable OS is recommended. Non-x86 architectures or 64-bit architectures are not supported.

  • Install the requirements:

    sudo aptitude install build-essential debootstrap python-pip automake libgmp3-dev libltdl-dev libunistring-dev libffi-dev ncurses-dev imagemagick libssl-dev pkg-config zlib1g-dev gettext git curl subversion check bjam intltool gperf flex bison xmlto php5 expect libgc-dev mercurial cython lzip cmake swig
    sudo pip install -U setuptools pip wheel httpie
    
  • You may need to install some packages from testing like autoconf. Read about Apt-Pinning to know how to do that.

  • Start the virtual machine

For further instructions, refer to Pull Requests section of CONTRIBUTING.

Donate

If you like spksrc and packages created with it, consider making a donation to its core developers:

  • Diaoul

    https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif http://api.flattr.com/button/flattr-badge-large.png
  • moneytoo

    https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif
  • piwi82

    https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif
  • bru7us

    https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif http://api.flattr.com/button/flattr-badge-large.png

License

When not explicitly set, files are placed under a 3 clause BSD license

About

Cross compilation framework to create native packages for the Synology's NAS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 35.1%
  • Shell 27.4%
  • JavaScript 16.3%
  • C++ 8.6%
  • Python 7.0%
  • HTML 2.1%
  • Other 3.5%