Files
@ 20cbe1b99111
Branch filter:
Location: portage-overlay.git/media-sound/madfuload/madfuload-1.2-r2.ebuild - annotation
20cbe1b99111
1.2 KiB
application/vnd.gentoo.ebuild
games-rpg/pcgen: Update description
03693c014742 03693c014742 03693c014742 03693c014742 399d04db873d 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 399d04db873d 399d04db873d 399d04db873d 399d04db873d 399d04db873d 399d04db873d 399d04db873d 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 03693c014742 | # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="7"
inherit eutils linux-info
DESCRIPTION="M-Audio DFU firmware loader for MobilePre, Ozone, Sonica and Transit USB audio interfaces"
HOMEPAGE="http://usb-midi-fw.sourceforge.net/"
SRC_URI="mirror://sourceforge/usb-midi-fw/${P}.tar.gz"
LICENSE="GPL-2 madfuload"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
PATCHES=(
"${FILESDIR}/${P}-42-madfuload-rules.patch"
"${FILESDIR}/${P}-fix-64-bit-implicit-declarations.patch"
"${FILESDIR}/${P}-udevinfo-autotools.patch"
"${FILESDIR}/${P}-udevinfo-configure.patch"
)
pkg_setup() {
kernel_is le 2 6 8 && die "Kernel > 2.6.8 needed"
linux-info_pkg_setup
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc README || die "adding documentation failed"
}
pkg_postinst() {
einfo "You need to reload udev rules before connecting the device:"
einfo "# udevadm control --reload-rules"
einfo "Also you might have to change the MobilePre RUN parameter"
einfo "in /etc/udev/rules.d/42-madfuload.rules to"
einfo "\"/usr/sbin/madfuload -l -D %E{DEVICE} -3 -f /usr/share/usb/maudio/ma004103.bin\""
}
|