git-svn-id: http://svn.sabayonlinux.org/overlay@439 d7aec97c-591d-0410-af39-a8856400b30a

This commit is contained in:
cvill64
2006-12-12 20:36:33 +00:00
parent 44568f75dd
commit caf27f981c
4 changed files with 0 additions and 100 deletions
-8
View File
@@ -1,8 +0,0 @@
DIST ipw3945-1.1.2.tgz 196846 RMD160 c1e9a968e2378817b8e406d3be5c1ea4bd3b4bed SHA1 aefa31aca38b62d7497db7559336ad65919f5146 SHA256 5bc6eaaea215c9c3f1e025fb1320a7eea102301cd6b5a4f831ad7a8c5a9927d7
EBUILD ipw3945-1.1.2-r1.ebuild 2552 RMD160 3fc347464cd43158f06292a2e5d0b2179f9593b3 SHA1 0210889d4a45c04733380c1012a995e8feb545cc SHA256 c2e3566d4bc8668757ef67b0f7ef3b780f9e2816c5485eab9b3d218273a551ee
MD5 ec40f247a224811fc3dd0feb14bb96ef ipw3945-1.1.2-r1.ebuild 2552
RMD160 3fc347464cd43158f06292a2e5d0b2179f9593b3 ipw3945-1.1.2-r1.ebuild 2552
SHA256 c2e3566d4bc8668757ef67b0f7ef3b780f9e2816c5485eab9b3d218273a551ee ipw3945-1.1.2-r1.ebuild 2552
MD5 4267ade2b6861667982430fa39b8e56e files/digest-ipw3945-1.1.2-r1 232
RMD160 e233088728afed55e8cdcc42d6d3797626641b93 files/digest-ipw3945-1.1.2-r1 232
SHA256 fec1be42ddc8cb161469402a4ac4210fd0b93af3ae49913c464cd5243d25543d files/digest-ipw3945-1.1.2-r1 232
@@ -1,3 +0,0 @@
MD5 9b215a875818154ade298b9180fe241c ipw3945-1.1.2.tgz 196846
RMD160 c1e9a968e2378817b8e406d3be5c1ea4bd3b4bed ipw3945-1.1.2.tgz 196846
SHA256 5bc6eaaea215c9c3f1e025fb1320a7eea102301cd6b5a4f831ad7a8c5a9927d7 ipw3945-1.1.2.tgz 196846
@@ -1,3 +0,0 @@
MD5 9b215a875818154ade298b9180fe241c ipw3945-1.1.2.tgz 196846
RMD160 c1e9a968e2378817b8e406d3be5c1ea4bd3b4bed ipw3945-1.1.2.tgz 196846
SHA256 5bc6eaaea215c9c3f1e025fb1320a7eea102301cd6b5a4f831ad7a8c5a9927d7 ipw3945-1.1.2.tgz 196846
@@ -1,86 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.1.2.ebuild,v 1.1 2006/11/04 14:45:08 phreak Exp $
inherit linux-mod
S=${WORKDIR}/${P/_pre/-pre}
IEEE80211_VERSION="1.1.13-r1"
UCODE_VERSION="1.13"
DAEMON_VERSION="1.7.22"
DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
HOMEPAGE="http://ipw3945.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}"
RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
>=net-wireless/ipw3945-ucode-${UCODE_VERSION}
>=net-wireless/ipw3945d-${DAEMON_VERSION}"
BUILD_TARGETS="all"
MODULE_NAMES="ipw3945(net/wireless:)"
MODULESD_IPW3945_DOCS="README.ipw3945"
CONFIG_CHECK="NET_RADIO FW_LOADER !IPW3945"
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_IPW3945="${P} requires the in-kernel version of the IPW3945 driver to be disabled (CONFIG_IPW3945)"
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 ${ROOT}/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 "${ROOT}/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"
unpack ${A}
sed -i \
-e "s:^#\(CONFIG_IPW3945_QOS\)=.*:\1=y:" \
-e "s:^# \(CONFIG_IPW3945_MONITOR\)=.*:\1=y:" \
-e "s:^# \(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=y:" \
-e "s:^# \(CONFIG_IPW3945_PROMISCUOUS\)=.*:\1=y:" \
"${S}"/Makefile || die
use debug && debug="y"
sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=${debug}:" "${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
}