You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/iwl3945-ucode/iwl3945-ucode-15.28.1.8.ebuild

39 lines
979 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl3945-ucode/iwl3945-ucode-15.28.1.8.ebuild,v 1.5 2010/01/09 11:11:57 hanno Exp $
MY_P="iwlwifi-3945-ucode-${PV}"
DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Connection ucode"
HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_P}.tgz"
LICENSE="ipw3945"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )"
RDEPEND=""
S=${WORKDIR}/${MY_P}
src_compile() {
true;
}
src_install() {
insinto /lib/firmware
doins iwlwifi-3945-1.ucode || die
dodoc README*
}
pkg_postinst() {
elog
elog "This version of ucode works only with kernels <2.6.29-rc1. For newer"
elog "kernels use newer ucode:"
elog "emerge ${CATEGORY}/${PN}:1"
elog "For more information take a look at bugs.gentoo.org/246045"
elog
}