summaryrefslogtreecommitdiff
blob: f6a3174aca10c753e95a3c40cab2ceb8538765bf (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
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gobi_loader/gobi_loader-0.7.ebuild,v 1.1 2010/06/27 12:49:12 polynomial-c Exp $

EAPI="2"
inherit eutils

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"
IUSE=""

DEPEND="virtual/libusb:0"
RDEPEND="${DEPEND}"

src_install() {
	emake || die

	# Makefile is bad
	dosbin gobi_loader
	insinto /etc/udev/rules.d
	doins 60-gobi.rules
}

pkg_postinst() {
	einfo
	einfo "Put your firmware in /lib/firmware/gobi."
	einfo
}