[CCC DEV] Building for Debian/Ubuntu simplified

Matt Jadud jadudm at gmail.com
Tue Jul 6 13:20:01 BST 2010


Hi all,

If you check out

svn co http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/branches/avr-mega/distribution/deb-pkg

you'll get a small directory. (You could, I suppose, just download the
Python script directly...)

wget http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/branches/avr-mega/distribution/deb-pkg/make-deb-pkg.py

In it is a Python script. You can invoke it thusly:

python make-deb-pkg.py --all
http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk

and it will checkout, configure, make, and create a Debian package of that URL.

It is still not a "good" Debian package (meaning, it wouldn't be
accepted into the mainline distribution channels), but the script will
serve as a starting point for automating the process of generating
good packages. In the meantime, this is a "binary" package that just
installs the binaries and libraries that you need in
/opt/occam/arduino.

Hope that helps,
Matt

(This is useful for us hacking on libraries... instead of doing
anything ugly when libraries refresh, we just refresh the package and
remove/install. See the notes at the top of the script.)

-- 
Sent from my TRS-80




More information about the developers mailing list