blob: a7ac647f43e7c0fce858512c9c7be2b6d8f6ffd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DESCRIPTION = "Firmware loader for m-audio devices"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/usb-midi-fw/madfuload-1.2.tar.gz \
file://autofoo.patch;apply=yes"
S = "${WORKDIR}/madfuload-1.2"
inherit autotools
do_configure() {
oe_runconf
}
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}/${sbindir}
install -m 755 ${S}/madfuload ${D}/${sbindir}
install -d ${D}/${libdir}/firmware
install -m 644 ${S}/*.bin ${D}/${libdir}/firmware
install -d ${D}/${sysconfdir}/udev/rules
install -m 644 ${S}/42-madfuload.rules ${D}/${sysconfdir}/udev/rules
}
FILES_${PN} += "${libdir}/firmware/"
SRC_URI[md5sum] = "6a2c68021e2e05c4eb35e67158b9414e"
SRC_URI[sha256sum] = "324d0a55f73c82ad48635a94a8d72277a2280030df6d036eafe3498c933dee6d"
|