Skip to content
Cross compilation framework to create native packages for the Synology's NAS (compiled packages for armada38x avaliable)
Makefile Shell JavaScript C++ Python HTML Other
Branch: master
Clone or download
Pull request Compare This branch is 261 commits ahead, 827 commits behind SynoCommunity:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cross
distrib
kernel
mk
native
spk
toolchains
.dockerignore
.gitignore
CONTRIBUTING.md
Dockerfile
LICENSE.md
Makefile
README.rst
compile.sh

README.rst

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`_.

Requirements

To use spksrc, it is recommended to use a virtual machine with an x86, 32-bit version of Debian stable OS installed. Non-x86 architectures or 64-bit architectures are not supported.

You'll also need some stuff:

sudo apt-get install build-essential debootstrap python-pip automake libgmp3-dev libltdl-dev libunistring-dev libffi-dev libncurses5-dev imagemagick libssl-dev pkg-config zlib1g-dev gettext git curl subversion check libboost1.55-tools-dev 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.

You are now ready to use spksrc and make almost all SPKs. If you have any problem, try installing the missing packages on your virtual machine.

Usage

Lets start with an example:

git clone https://github.com/SynoCommunity/spksrc.git
cd spksrc/
make setup
cd spk/transmission
make arch-88f6281

What have I done?


Contributing

Before opening issues or package requests, see CONTRIBUTING.

Setup Development Environment

Docker

  • Fork and clone spksrc: git clone https://You@github.com/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.

You can’t perform that action at this time.