aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2014-01-04 20:58:17 -0800
committerSudar <sudar@sudarmuthu.com>2014-01-04 20:58:17 -0800
commitc2aacb94879b5c200b36307dddcaf29b23054957 (patch)
treecca1c3d28590d4ea846afaae0bc7c25c95cb76b0
parentd3af7ca19dd09148d4f8fd42dd328f49eae08ec8 (diff)
parentcec6553cf9f6de328b94f992df8165f3564a09fa (diff)
Merge pull request #146 from sej7278/master
Debian package rebuild instructions.
-rw-r--r--packaging/debian/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/packaging/debian/README.md b/packaging/debian/README.md
new file mode 100644
index 0000000..26efa5a
--- /dev/null
+++ b/packaging/debian/README.md
@@ -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 for building/running the package, as root:
+
+ apt-get build-dep arduino-mk
+ apt-get install arduino-core libdevice-serialport-perl help2man build-essential dpkg-dev fakeroot perl-doc devscripts
+
+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