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

patcheng/spksrc

This branch is 1828 commits behind SynoCommunity/spksrc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4b65bfc · May 24, 2017
May 26, 2016
May 24, 2017
Mar 13, 2016
Feb 10, 2017
Mar 6, 2017
May 24, 2017
Jun 12, 2016
Mar 19, 2015
Jan 2, 2013
Dec 16, 2016
Dec 7, 2016
Oct 19, 2011
Jan 10, 2016
Feb 8, 2017

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 a new issue, check the FAQ and search open issues. If you can't find an answer, or if you want to open a package request, read CONTRIBUTING to make sure you include all the information needed for contributors to handle your request.

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 64-bit version of Debian stable OS is recommended. Non-x86 architectures are not supported.

  • Install the requirements:

    sudo dpkg --add-architecture i386 && sudo apt-get update
    sudo aptitude install build-essential debootstrap python-pip automake libgmp3-dev libltdl-dev libunistring-dev libffi-dev libcppunit-dev ncurses-dev imagemagick libssl-dev pkg-config zlib1g-dev gettext git curl subversion check intltool gperf flex bison xmlto php5 expect libgc-dev mercurial cython lzip cmake swig libc6-i386 libmount-dev libpcre3-dev libbz2-dev
    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.

  • Some older toolchains may require 32-bit development versions of packages, e.g. zlib1g-dev:i386

Usage

Once you have a development environment set up, you can start building packages, create new ones, or improve upon existing packages while making your changes available to other people. See the Developers HOW TO for information on how to use spksrc.

Donate

To support SynoCommunity, you can make a donation to its founder

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

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.3%
  • Shell 28.0%
  • JavaScript 16.0%
  • C++ 8.4%
  • Python 6.8%
  • HTML 2.1%
  • Other 3.4%