Arduino-Makefile/packaging/debian
2014-04-02 17:57:58 +01:00
..
README.md python3 compatibility 2014-04-02 17:57:58 +01:00

How to compile a Deb package

Use these instructions to build your own Deb package from your local sources. For the latest official packages go to Debian or Ubuntu or use apt.

First install the dependencies for building/running the package, as root:

apt-get build-dep arduino-mk
apt-get install arduino-core build-essential dpkg-dev fakeroot devscripts python-serial python3-serial

Fetch the Debian source:

apt-get source arduino-mk

Make any local changes to want within the arduino-mk-* directory and update the package version:

cd arduino-mk-*
dch -i

Then compile. This will create a binary Deb:

dpkg-buildpackage -b