summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-wireless/gobi_loader
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-wireless/gobi_loader')
-rw-r--r--net-wireless/gobi_loader/Manifest1
-rw-r--r--net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch22
-rw-r--r--net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild34
-rw-r--r--net-wireless/gobi_loader/metadata.xml13
4 files changed, 70 insertions, 0 deletions
diff --git a/net-wireless/gobi_loader/Manifest b/net-wireless/gobi_loader/Manifest
new file mode 100644
index 000000000000..cfee070bc008
--- /dev/null
+++ b/net-wireless/gobi_loader/Manifest
@@ -0,0 +1 @@
+DIST gobi_loader-0.7.tar.gz 5056 SHA256 78bdc255451cde1caa406e146b01a88828480c9c43272de8cffdb61627be754a SHA512 79b9a357a1dc11bf0eae5a7a964f8ffe4d09381384d0bfc0541bf0311bba9206055e5ef3d884648b12fa05286feec0118af11effa1db66626001ea2743a715a1 WHIRLPOOL cfc6a0f01aa9ee2b3b04004d5eb6bdd27ba66a60dcb34aef3cc8412572e1eecf5cb67be0f8a6d742b536de40bed4ebae506a11283213cef2c1390f2b0d379736
diff --git a/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch b/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch
new file mode 100644
index 000000000000..ec5b4a706315
--- /dev/null
+++ b/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch
@@ -0,0 +1,22 @@
+--- gobi_loader-0.7/Makefile
++++ gobi_loader-0.7/Makefile
+@@ -1,15 +1,14 @@
+ VERSION = 0.7
+
+ gobi_loader: gobi_loader.c
+- gcc -Wall gobi_loader.c -o gobi_loader
++ gcc ${CFLAGS} ${LDFLAGS} -Wall gobi_loader.c -o gobi_loader
+
+ all: gobi_loader
+
+ install: gobi_loader
+- install -D gobi_loader ${prefix}/lib/udev/gobi_loader
+- install -D 60-gobi.rules ${prefix}/lib/udev/rules.d/60-gobi.rules
+- mkdir -p ${prefix}/lib/firmware
+- -udevadm control --reload-rules
++ install -D gobi_loader ${D}%UDEVDIR%/gobi_loader
++ install -D 60-gobi.rules ${D}%UDEVDIR%/rules.d/60-gobi.rules
++ mkdir -p ${D}${prefix}/lib/firmware
+
+ uninstall:
+ -rm $(prefix)/lib/udev/gobi_loader
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..4a291bcd70da
--- /dev/null
+++ b/net-wireless/gobi_loader/gobi_loader-0.7-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}
diff --git a/net-wireless/gobi_loader/metadata.xml b/net-wireless/gobi_loader/metadata.xml
new file mode 100644
index 000000000000..b0008f01cbdf
--- /dev/null
+++ b/net-wireless/gobi_loader/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>craig@gentoo.org</email>
+ <name>Stefan Behte</name>
+</maintainer>
+<maintainer>
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ <description>Proxy maintainer for Stefan</description>
+</maintainer>
+</pkgmetadata>