diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-03-08 13:47:30 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-03-08 13:47:30 +0000 |
commit | 5851c565b83d7a8493a4b69cdd5e555ed91590c2 (patch) | |
tree | b1754b43c2c0611c657bb57578ba62ea0149376f /net-wireless/ipw2200 | |
parent | Version bump (for use with ipw2200-1.1.1 and newer). (diff) | |
download | historical-5851c565b83d7a8493a4b69cdd5e555ed91590c2.tar.gz historical-5851c565b83d7a8493a4b69cdd5e555ed91590c2.tar.bz2 historical-5851c565b83d7a8493a4b69cdd5e555ed91590c2.zip |
Version bump.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-wireless/ipw2200')
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/digest-ipw2200-1.1.1 | 1 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-1.1.1.ebuild | 98 |
3 files changed, 105 insertions, 1 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog index 10caaf825b01..f3f6f2122e05 100644 --- a/net-wireless/ipw2200/ChangeLog +++ b/net-wireless/ipw2200/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/ipw2200 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.60 2006/02/24 10:19:41 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.61 2006/03/08 13:47:30 brix Exp $ + +*ipw2200-1.1.1 (08 Mar 2006) + + 08 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.1.1.ebuild: + Version bump. *ipw2200-1.1.0 (24 Feb 2006) diff --git a/net-wireless/ipw2200/files/digest-ipw2200-1.1.1 b/net-wireless/ipw2200/files/digest-ipw2200-1.1.1 new file mode 100644 index 000000000000..d715d8c81939 --- /dev/null +++ b/net-wireless/ipw2200/files/digest-ipw2200-1.1.1 @@ -0,0 +1 @@ +MD5 1a179639c51a8344830039258a62bccf ipw2200-1.1.1.tgz 127447 diff --git a/net-wireless/ipw2200/ipw2200-1.1.1.ebuild b/net-wireless/ipw2200/ipw2200-1.1.1.ebuild new file mode 100644 index 000000000000..45278009679d --- /dev/null +++ b/net-wireless/ipw2200/ipw2200-1.1.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-1.1.1.ebuild,v 1.1 2006/03/08 13:47:30 brix Exp $ + +inherit linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +IEEE80211_VERSION="1.1.12" +FW_VERSION="3.0" + +DESCRIPTION="Driver for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters" +HOMEPAGE="http://ipw2200.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug radiotap" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + sys-apps/sed" +RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + >=net-wireless/ipw2200-firmware-${FW_VERSION} + net-wireless/wireless-tools" + +BUILD_TARGETS="all" +MODULE_NAMES="ipw2200(net/wireless:)" +MODULESD_IPW2200_DOCS="README.ipw2200" + +CONFIG_CHECK="NET_RADIO FW_LOADER !IPW2200" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_IPW2200="${P} requires the in-kernel version of the IPW2200 driver to be disabled (CONFIG_IPW2200)" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + 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="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" +} + +src_unpack() { + local debug="n" radiotap="n" + + unpack ${A} + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW2200_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile || die + + use radiotap && radiotap="y" + sed -i -e "s:^#\(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=${radiotap}:" ${S}/Makefile || die +} + +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 +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} + +pkg_postinst() { + linux-mod_pkg_postinst + + if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then + einfo + einfo "Modules from an earlier installation detected. You will need to manually" + einfo "remove those modules by running the following commands:" + einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" + einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" + einfo " # depmod -a" + einfo + fi +} |