Created attachment 661680 [details] Ebuild for current version 2.04 Micronucleus is a handy tool/firmware/bootloader for Atmel µCs. My foremost use (and maybe that of others?) is to fix broken firmware on chinese digispark (ATTiny85) clones (that don't keep their program after disconnecting from the PC/Arduino IDE). Use micronucleus --run /var/lib/micronucleus/upgrade-t85_default.hex for that.
Thank you for your contribution. I had a short look on the ebuild. Here a few ideas: * Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman and pkgcheck * A bot can look for additional mistakes, if you upload a PR via github * "die" is missing for lines with cd see also: https://github.com/micronucleus/micronucleus/issues/188
I know I should have done the mentioned things years ago. Sorry, my spare time should in fact be called sparse time :) I tried to at least improve the ebuild regarding the currently needed udev functions, patched the configure step as this was necessary for it to compile, fixed the missing "die" statements when cd'ing and upgraded to v2.6. I read up on repoman and found it's deprecated now and I should use pkgdev. This led me to the dev handbook which in turn showed I'd need more infrastructure/preparations than I can currently make time for. Times may come where my free time will again be more ample. Until then, I'm attaching my current version that works for me. Maybe it helps someone! (Though I found it is bundled now with the Arduino IDE if you use ATTinyCore, so it might not be of big use; still, this version is a little newer)
Created attachment 885382 [details] ebuild for version 2.6