You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
724 B
34 lines
724 B
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="2"
|
|
inherit eutils multilib udev
|
|
|
|
DESCRIPTION="gobi_loader is a firmware loader for Qualcomm Gobi USB chipsets"
|
|
HOMEPAGE="http://www.codon.org.uk/~mjg59/gobi_loader/"
|
|
SRC_URI="http://www.codon.org.uk/~mjg59/${PN}/download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="virtual/libusb:0"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-makefile.patch
|
|
sed "s:%UDEVDIR%:$(get_udevdir):" -i Makefile || die
|
|
}
|
|
|
|
src_install() {
|
|
emake install || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
udevadm control --reload-rules
|
|
einfo
|
|
einfo "Put your firmware in /lib/firmware/gobi."
|
|
einfo
|
|
}
|