summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-11-28 21:23:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-11-28 21:23:57 +0000
commit3c4959c616ffb76767bb9afb27c9e6b89079fddf (patch)
treef4e1a58c4a2ebab0871538e09220042e7a85f2cc /net-wireless/rfswitch
parentChanged license from "as-is" to "POSTGRESQL". Fixes bug 444746. (diff)
downloadgentoo-2-3c4959c616ffb76767bb9afb27c9e6b89079fddf.tar.gz
gentoo-2-3c4959c616ffb76767bb9afb27c9e6b89079fddf.tar.bz2
gentoo-2-3c4959c616ffb76767bb9afb27c9e6b89079fddf.zip
Version bump wrt #270269
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'net-wireless/rfswitch')
-rw-r--r--net-wireless/rfswitch/ChangeLog7
-rw-r--r--net-wireless/rfswitch/rfswitch-1.3.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/net-wireless/rfswitch/ChangeLog b/net-wireless/rfswitch/ChangeLog
index b48589d48c19..97f9e05a2e72 100644
--- a/net-wireless/rfswitch/ChangeLog
+++ b/net-wireless/rfswitch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/rfswitch
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/ChangeLog,v 1.7 2012/11/18 11:25:16 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/ChangeLog,v 1.8 2012/11/28 21:23:57 ssuominen Exp $
+
+*rfswitch-1.3 (28 Nov 2012)
+
+ 28 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> +rfswitch-1.3.ebuild:
+ Version bump wrt #270269
18 Nov 2012; Pacho Ramos <pacho@gentoo.org> -rfswitch-0.1-r1.ebuild,
metadata.xml:
diff --git a/net-wireless/rfswitch/rfswitch-1.3.ebuild b/net-wireless/rfswitch/rfswitch-1.3.ebuild
new file mode 100644
index 000000000000..b017b387fedc
--- /dev/null
+++ b/net-wireless/rfswitch/rfswitch-1.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfswitch/rfswitch-1.3.ebuild,v 1.1 2012/11/28 21:23:57 ssuominen Exp $
+
+inherit linux-mod
+
+DESCRIPTION="Drivers for software based wireless radio switches"
+HOMEPAGE="http://rfswitch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BUILD_TARGETS="modules"
+
+MODULE_NAMES="av5100(net/wireless:)
+ pbe5(net/wireless:)"
+MODULESD_AV5100_DOCS="README"
+
+# Use the in-kernel ipw2100 modules
+CONFIG_CHECK="~IPW2100"
+ERROR_IPW2100="${P} requires support for ipw2100 (CONFIG_IPW2100)."
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+
+ BUILD_PARAMS="KSRC=${KV_DIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ convert_to_m Makefile
+
+ sed -i \
+ -e '/depmod/d' \
+ -e '/include.*Rules.*make/d' \
+ Makefile || die
+
+ sed -i -e 's:&proc_root:NULL:' {av5100,pbe5}.c || die #270269
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc ISSUES README
+}