summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild')
-rw-r--r--net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild b/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
new file mode 100644
index 000000000000..d230b07f0da9
--- /dev/null
+++ b/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/11/16 13:21:12 polynomial-c Exp $
+
+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%:$(udev_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
+}