micronucleus: update to 2.5.

This commit is contained in:
UsernameRandomlyGenerated 2021-06-27 11:04:54 +02:00 committed by Érico Nogueira Rolim
parent 4c0908487b
commit e44b8fdd7e
2 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,14 @@
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -8,9 +8,9 @@ CC=gcc
ifeq ($(shell uname), Linux)
# If you get the error "usb.h: No such file or directory" you must run "sudo apt-get install libusb-dev"
USBFLAGS=$(shell libusb-config --cflags)
- USBLIBS= -static $(shell libusb-config --libs)
+# USBLIBS= -static $(shell libusb-config --libs)
# If you get an error about missing USB libraries, please use the line below instead of the one above
-# USBLIBS= $(shell libusb-config --libs)
+ USBLIBS= $(shell libusb-config --libs)
EXE_SUFFIX =
OSFLAG = -D LINUX
else ifeq ($(shell uname), Darwin)

View file

@ -1,6 +1,6 @@
# Template file for 'micronucleus'
pkgname=micronucleus
version=2.04
version=2.5
revision=1
hostmakedepends="libusb-compat-devel"
makedepends="libusb-devel libusb-compat-devel"
@ -8,8 +8,8 @@ short_desc="Upload tool for the Micronucleus avr bootloader"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/micronucleus/micronucleus"
distfiles="https://github.com/micronucleus/micronucleus/archive/${version}.tar.gz"
checksum=e09d4e427cde4dac43c3bac2e6f91903ae205263b1598beb8cef4f786692b506
distfiles="https://github.com/micronucleus/micronucleus/archive/v${version}.tar.gz"
checksum=85ea30826be83973ccac058902fe622a110d53c3dea0f6dd317ca1025d3a8af3
post_patch() {
vsed -i commandline/49-micronucleus.rules -e 's|MODE:="0666"|GROUP:="dialout"|'