summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2004-07-09 19:39:55 +0000
committerPeter Johanson <latexer@gentoo.org>2004-07-09 19:39:55 +0000
commitd0c32590e2b003de9080fd6965870227d49777ee (patch)
treefb0aaa368c4c9cad771067303b7ef79052c248ac /net-wireless/rfswitch
parentCAN-2004-0497 fix. Removed old ebuild. (Manifest recommit) (diff)
downloadgentoo-2-d0c32590e2b003de9080fd6965870227d49777ee.tar.gz
gentoo-2-d0c32590e2b003de9080fd6965870227d49777ee.tar.bz2
gentoo-2-d0c32590e2b003de9080fd6965870227d49777ee.zip
Initial commit.
Diffstat (limited to 'net-wireless/rfswitch')
-rw-r--r--net-wireless/rfswitch/ChangeLog10
-rw-r--r--net-wireless/rfswitch/Manifest2
-rw-r--r--net-wireless/rfswitch/files/digest-rfswitch-0.11
-rw-r--r--net-wireless/rfswitch/metadata.xml8
-rw-r--r--net-wireless/rfswitch/rfswitch-0.1.ebuild46
5 files changed, 67 insertions, 0 deletions
diff --git a/net-wireless/rfswitch/ChangeLog b/net-wireless/rfswitch/ChangeLog
new file mode 100644
index 000000000000..578674f56b0a
--- /dev/null
+++ b/net-wireless/rfswitch/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-wireless/rfswitch
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/ChangeLog,v 1.1 2004/07/09 19:39:55 latexer Exp $
+
+*rfswitch-0.1 (09 Jul 2004)
+
+ 09 Jul 2004; Peter Johanson <latexer@gentoo.org> +metadata.xml,
+ +rfswitch-0.1.ebuild:
+ Initial commit. Ebuild by yours truly.
+
diff --git a/net-wireless/rfswitch/Manifest b/net-wireless/rfswitch/Manifest
new file mode 100644
index 000000000000..3daa7f41e0ab
--- /dev/null
+++ b/net-wireless/rfswitch/Manifest
@@ -0,0 +1,2 @@
+MD5 16272990bba148309630fb0874c7c1d5 rfswitch-0.1.ebuild 823
+MD5 316d05ae6d56419b6c5fcf6d614738d7 files/digest-rfswitch-0.1 60
diff --git a/net-wireless/rfswitch/files/digest-rfswitch-0.1 b/net-wireless/rfswitch/files/digest-rfswitch-0.1
new file mode 100644
index 000000000000..134efdf242f3
--- /dev/null
+++ b/net-wireless/rfswitch/files/digest-rfswitch-0.1
@@ -0,0 +1 @@
+MD5 fbfdda7f29177efa4dcaa2f1b11aa551 rfswitch-0.1.tgz 11667
diff --git a/net-wireless/rfswitch/metadata.xml b/net-wireless/rfswitch/metadata.xml
new file mode 100644
index 000000000000..74809c964108
--- /dev/null
+++ b/net-wireless/rfswitch/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+<maintainer>
+ <email>latexer@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-wireless/rfswitch/rfswitch-0.1.ebuild b/net-wireless/rfswitch/rfswitch-0.1.ebuild
new file mode 100644
index 000000000000..7d7146a57553
--- /dev/null
+++ b/net-wireless/rfswitch/rfswitch-0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/rfswitch-0.1.ebuild,v 1.1 2004/07/09 19:39:55 latexer Exp $
+
+inherit kernel-mod
+DESCRIPTION="Drivers for software based wireless radio switches"
+HOMEPAGE="http://rfswitch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/linux-sources
+ !<=net-wireless/ipw2100-0.48"
+
+src_unpack() {
+ kernel-mod_getversion
+ unpack ${A}
+
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile
+ fi
+}
+
+src_compile() {
+ check_KV
+ unset ARCH
+ make KSRC=${ROOT}/usr/src/linux || die
+}
+
+src_install() {
+ if [ ${KV_MINOR} -gt 4 ]
+ then
+ KV_OBJ=ko
+ else
+ KV_OBJ=o
+ fi
+
+ insinto /lib/modules/${KV}/kernel/drivers/net/wireless
+ doins pbe5.${KV_OBJ} av5100.${KV_OBJ}
+
+ dodoc FILES ISSUES README
+}