Debian package rebuild instructions.
Shows a user how to make their own Debian packages from Git. Also has instructions for getting official upstream builds for their distro.
This commit is contained in:
parent
d3af7ca19d
commit
277a98b2c8
1 changed files with 23 additions and 0 deletions
23
packaging/debian/README.md
Normal file
23
packaging/debian/README.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# 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](http://packages.debian.org/arduino-mk)
|
||||||
|
or [Ubuntu](https://launchpad.net/ubuntu/+source/arduino-mk) or use apt.
|
||||||
|
|
||||||
|
First install the dependencies as root:
|
||||||
|
|
||||||
|
apt-get build-dep arduino-mk
|
||||||
|
apt-get install arduino-core libdevice-serialport-perl help2man build-essential dpkg-dev
|
||||||
|
|
||||||
|
Fetch the Debian source:
|
||||||
|
|
||||||
|
apt-get source arduino-mk
|
||||||
|
|
||||||
|
Make any local changes to want within arduino-mk-* directory and update the package version:
|
||||||
|
|
||||||
|
cd arduino-mk-*
|
||||||
|
dch -i
|
||||||
|
|
||||||
|
Then compile. This will create a binary Deb:
|
||||||
|
|
||||||
|
dpkg-buildpackage -b
|
Loading…
Reference in a new issue