summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-08-03 18:44:52 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-08-03 18:44:52 +0000
commit98c17ac664186681de42d18017b5867c6b174c7c (patch)
tree153c50b82c23afc217d1ca83c15f6bb0969abace /net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild
parentAdd USE=pulseaudio to live versions and tweak multilib deps for USE="win32 wi... (diff)
downloadgentoo-2-98c17ac664186681de42d18017b5867c6b174c7c.tar.gz
gentoo-2-98c17ac664186681de42d18017b5867c6b174c7c.tar.bz2
gentoo-2-98c17ac664186681de42d18017b5867c6b174c7c.zip
Fixed location of the loader binary so udev can find it.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild')
-rw-r--r--net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild b/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild
new file mode 100644
index 000000000000..c0aecb2949cf
--- /dev/null
+++ b/net-wireless/gobi_loader/gobi_loader-0.7-r1.ebuild
@@ -0,0 +1,35 @@
+# 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-r1.ebuild,v 1.1 2010/08/03 18:44:52 polynomial-c Exp $
+
+EAPI="2"
+inherit eutils multilib
+
+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_install() {
+ # Makefile is bad
+ insinto /$(get_libdir)/udev
+ insopts -m0755
+ doins gobi_loader
+
+ insinto /etc/udev/rules.d
+ insopts -m0644
+ doins 60-gobi.rules
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Put your firmware in /lib/firmware/gobi."
+ einfo
+}