new package: micronucleus-2.04
This commit is contained in:
parent
b09d6b8779
commit
94fbf9c9e4
25
srcpkgs/micronucleus/template
Normal file
25
srcpkgs/micronucleus/template
Normal file
@ -0,0 +1,25 @@
|
||||
# Template file for 'micronucleus'
|
||||
pkgname=micronucleus
|
||||
version=2.04
|
||||
revision=1
|
||||
hostmakedepends="libusb-compat-devel"
|
||||
makedepends="libusb-devel libusb-compat-devel"
|
||||
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
|
||||
|
||||
post_patch() {
|
||||
vsed -i commandline/49-micronucleus.rules -e 's|MODE:="0666"|GROUP:="dialout"|'
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make -C commandline CC="$CC"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin commandline/micronucleus
|
||||
vinstall commandline/49-micronucleus.rules 0644 /usr/lib/udev/rules.d/
|
||||
}
|
Loading…
Reference in New Issue
Block a user