AVR4L icon indicating copy to clipboard operation
AVR4L copied to clipboard

Debian package

Open bence98 opened this issue 7 years ago • 4 comments

bence98 avatar Feb 20 '19 13:02 bence98

can you please share how you managed to package the software, can you add packaging instructions for future builds?

abdalmoniem avatar Feb 20 '19 14:02 abdalmoniem

Sure! I created a folder, let's call it avr4l_deb. Then, I created avr4l_deb/DEBIAN/control file (here is a template from my other project). Then I copied the files I want to be installed into avr4l_deb (avr4l_deb/usr/bin/avr4l, avr4l_deb/usr/lib/jvm/default-java/lib/RXTXcomm.jar etc.). Finally, I ran dpkg-deb --build avr4l_deb You can find here the Debian control file I used for this package.

bence98 avatar Feb 20 '19 15:02 bence98

If you build with a Makefile, I can help you add packaging commands to it. You can probably do it with other build systems too, but I don't know how. But then again, you could just do it manually or write a script for it.

bence98 avatar Feb 20 '19 15:02 bence98

Sorry for the derpage with these pull requests. Anyways, I added the Debian control file to the repo.

bence98 avatar Feb 20 '19 19:02 bence98