From 81a723e863c98fd2a3529da88c4eb731450263c9 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Wed, 4 Apr 2007 11:48:40 +0000 Subject: madfu: Add package madfu, to load firmware for m-audio devices --- packages/madfu/madfu_1.2.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/madfu/madfu_1.2.bb (limited to 'packages/madfu/madfu_1.2.bb') diff --git a/packages/madfu/madfu_1.2.bb b/packages/madfu/madfu_1.2.bb new file mode 100644 index 0000000000..be94f4e13b --- /dev/null +++ b/packages/madfu/madfu_1.2.bb @@ -0,0 +1,29 @@ +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;patch=1" +inherit autotools + +S = ${WORKDIR}/madfuload-1.2 + +#EXTRA_OECONF = "--without-udev" +FILES_${PN} += "${libdir}/firmware/" + +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 +} -- cgit v1.2.3 From f0f89d19f347b304800e730c69a7fbb86acb9b4b Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Wed, 4 Apr 2007 11:58:54 +0000 Subject: madfu: Clean up so it matches oe style guide --- packages/madfu/madfu_1.2.bb | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'packages/madfu/madfu_1.2.bb') diff --git a/packages/madfu/madfu_1.2.bb b/packages/madfu/madfu_1.2.bb index be94f4e13b..354e65aced 100644 --- a/packages/madfu/madfu_1.2.bb +++ b/packages/madfu/madfu_1.2.bb @@ -3,27 +3,25 @@ LICENSE = "GPL" PR = "r1" SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/usb-midi-fw/madfuload-1.2.tar.gz \ - file://autofoo.patch;patch=1" -inherit autotools + file://autofoo.patch;patch=1" -S = ${WORKDIR}/madfuload-1.2 +S = "${WORKDIR}/madfuload-1.2" -#EXTRA_OECONF = "--without-udev" -FILES_${PN} += "${libdir}/firmware/" +inherit autotools do_configure() { - oe_runconf + oe_runconf } - do_compile() { - oe_runmake + 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 + 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/" -- cgit v1.2.3