diff options
author | Roy Marples <uberlord@gentoo.org> | 2005-11-03 20:32:36 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2005-11-03 20:32:36 +0000 |
commit | 04a6003f94913d99c5b870f69d6eb6eca4b13577 (patch) | |
tree | bb1d12c3847788c273449a3b3645b7d4d4a077b5 /net-wireless | |
parent | Stable on hppa, ppc. See bug #111032. (diff) | |
download | historical-04a6003f94913d99c5b870f69d6eb6eca4b13577.tar.gz historical-04a6003f94913d99c5b870f69d6eb6eca4b13577.tar.bz2 historical-04a6003f94913d99c5b870f69d6eb6eca4b13577.zip |
Initial import
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rt2x00/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/rt2x00/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/rt2x00/files/digest-rt2x00-2.0.0_beta2 | 1 | ||||
-rw-r--r-- | net-wireless/rt2x00/metadata.xml | 9 | ||||
-rw-r--r-- | net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild | 86 |
5 files changed, 110 insertions, 0 deletions
diff --git a/net-wireless/rt2x00/ChangeLog b/net-wireless/rt2x00/ChangeLog new file mode 100644 index 000000000000..48c31ffecd05 --- /dev/null +++ b/net-wireless/rt2x00/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-wireless/rt2x00 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.1 2005/11/03 20:32:36 uberlord Exp $ + +*rt2x00-2.0.0_beta2 (03 Nov 2005) + + 03 Nov 2005; Roy Marples <uberlord@gentoo.org> +metadata.xml, + +rt2x00-2.0.0_beta2.ebuild: + Initial import + diff --git a/net-wireless/rt2x00/Manifest b/net-wireless/rt2x00/Manifest new file mode 100644 index 000000000000..0b775545b453 --- /dev/null +++ b/net-wireless/rt2x00/Manifest @@ -0,0 +1,4 @@ +MD5 f56e7bc558c83e645d39a920e4d22c03 ChangeLog 360 +MD5 f0db8b2581709db00020a154a1d1ea71 rt2x00-2.0.0_beta2.ebuild 2385 +MD5 d881dd1c4bfd4e45a852f320b5a973c7 metadata.xml 315 +MD5 f84ccb94a3aa44174c09b91028354a40 files/digest-rt2x00-2.0.0_beta2 67 diff --git a/net-wireless/rt2x00/files/digest-rt2x00-2.0.0_beta2 b/net-wireless/rt2x00/files/digest-rt2x00-2.0.0_beta2 new file mode 100644 index 000000000000..c7afd3f178af --- /dev/null +++ b/net-wireless/rt2x00/files/digest-rt2x00-2.0.0_beta2 @@ -0,0 +1 @@ +MD5 4bf731328df460934110569551635c99 rt2x00-2.0.0-b2.tar.gz 130690 diff --git a/net-wireless/rt2x00/metadata.xml b/net-wireless/rt2x00/metadata.xml new file mode 100644 index 000000000000..6ca03a349894 --- /dev/null +++ b/net-wireless/rt2x00/metadata.xml @@ -0,0 +1,9 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>uberlord@gentoo.org</email> + <name>Roy Marples</name> + </maintainer> + <longdescription>Driver for the RaLink RT2x00 wireless chipsets</longdescription> +</pkgmetadata> diff --git a/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild b/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild new file mode 100644 index 000000000000..5571375a8264 --- /dev/null +++ b/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-2.0.0_beta2.ebuild,v 1.1 2005/11/03 20:32:36 uberlord Exp $ + +inherit linux-mod + +IEEE80211_VERSION="1.1.6" + +MY_P="${P/_beta/-b}" +DESCRIPTION="Driver for the RaLink RT2x00 wireless chipsets" +HOMEPAGE="http://rt2x00.serialmonkey.com" +SRC_URI="mirror://sourceforge/rt2400/${MY_P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~x86" +IUSE="debug" +DEPEND=" + >=net-wireless/ieee80211-${IEEE80211_VERSION} + sys-apps/sed +" +RDEPEND=" + >=net-wireless/ieee80211-${IEEE80211_VERSION} + net-wireless/wireless-tools +" + +S="${WORKDIR}/${MY_P}" +MODULE_NAMES=" + rt2x00core(net/wireless:) rt2400pci(net/wireless:) + rt2500pci(net/wireless:) rt2500usb(net/wireless:) +" + +CONFIG_CHECK="NET_RADIO BROKEN_ON_SMP !PREEMPT !4KSTACKS" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_BROKEN_ON_SMP="${P} does not currently support SMP Processors and Kernels" +ERROR_PREEMPT="${P} does not currently support pre-emption" +ERROR_4KSTACKS="${P} does not currently support 4K Stacks" + +pkg_setup() { + kernel_is lt 2 6 13 && die "${P} requires at least kernel 2.6.13" + + linux-mod_pkg_setup + + if [[ ! -f /lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then + eerror + eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" + eerror "upgrading your kernel." + eerror + eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" + eerror "modules needs to be remerged after a kernel upgrade." + eerror + die "/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" + fi + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="modules" +} + +src_unpack() { + unpack "${A}" + cd "${S}" + use debug || sed -i 's/default: debug/default: nodebug/g' Makefile +} + +src_install() { + linux-mod_src_install + dodoc CHANGELOG COPYING README THANKS +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo + einfo "to set up the card you can use:" + einfo "- iwconfig from wireless-tools" + einfo "- iwpriw as described in \"/usr/share/doc/${PF}/README.txt.gz"\" + einfo +} |