summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-01-01 14:42:31 +0000
committerPacho Ramos <pacho@gentoo.org>2013-01-01 14:42:31 +0000
commitff0044f6a8a5a7c25eee8d7ddbd55637411b0d63 (patch)
tree738858ae83c159ca93c40be83f7d9c25bbcf8837 /net-wireless
parentAdd ~alpha, wrt bug #449220 (diff)
downloadgentoo-2-ff0044f6a8a5a7c25eee8d7ddbd55637411b0d63.tar.gz
gentoo-2-ff0044f6a8a5a7c25eee8d7ddbd55637411b0d63.tar.bz2
gentoo-2-ff0044f6a8a5a7c25eee8d7ddbd55637411b0d63.zip
atmel_at76c504c-wpa.bin should be renamed to atmel_at76c504-wpa.bin, bug #398803 by Maxim Kammerer
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/atmel-firmware/ChangeLog10
-rw-r--r--net-wireless/atmel-firmware/atmel-firmware-1.3-r1.ebuild58
2 files changed, 66 insertions, 2 deletions
diff --git a/net-wireless/atmel-firmware/ChangeLog b/net-wireless/atmel-firmware/ChangeLog
index ffb7912c1986..ece7e47f1505 100644
--- a/net-wireless/atmel-firmware/ChangeLog
+++ b/net-wireless/atmel-firmware/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/atmel-firmware
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/atmel-firmware/ChangeLog,v 1.9 2012/12/11 17:14:04 axs Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/atmel-firmware/ChangeLog,v 1.10 2013/01/01 14:42:31 pacho Exp $
+
+*atmel-firmware-1.3-r1 (01 Jan 2013)
+
+ 01 Jan 2013; Pacho Ramos <pacho@gentoo.org> +atmel-firmware-1.3-r1.ebuild:
+ atmel_at76c504c-wpa.bin should be renamed to atmel_at76c504-wpa.bin, bug
+ #398803 by Maxim Kammerer
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> atmel-firmware-1.3.ebuild:
virtualize the udev dependency
diff --git a/net-wireless/atmel-firmware/atmel-firmware-1.3-r1.ebuild b/net-wireless/atmel-firmware/atmel-firmware-1.3-r1.ebuild
new file mode 100644
index 000000000000..63f5febaa9b1
--- /dev/null
+++ b/net-wireless/atmel-firmware/atmel-firmware-1.3-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/atmel-firmware/atmel-firmware-1.3-r1.ebuild,v 1.1 2013/01/01 14:42:31 pacho Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Firmware and config for atmel and atmel_cs wlan drivers included in linux 2.6"
+HOMEPAGE="http://www.thekelleys.org.uk/atmel/"
+SRC_URI="http://www.thekelleys.org.uk/atmel/${P}.tar.gz"
+
+LICENSE="Atmel"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="pcmcia usb"
+
+RDEPEND="|| ( virtual/udev >=sys-apps/hotplug-20040923 )
+ !<sys-fs/udev-096
+ >=net-wireless/wireless-tools-26-r1
+ pcmcia? ( virtual/pcmcia )"
+
+src_compile() {
+ tc-export CC
+ emake atmel_fwl
+}
+
+src_install() {
+ # atmel_at76c504c-wpa.bin should be renamed to atmel_at76c504-wpa.bin, bug #398803
+ mv images/atmel_at76c504c-wpa.bin images/atmel_at76c504-wpa.bin || die
+
+ insinto /lib/firmware
+ doins images/*.bin
+
+ if use usb; then
+ doins images.usb/*.bin
+ fi
+
+ if use pcmcia; then
+ insinto /etc/pcmcia
+ doins atmel.conf
+ fi
+
+ dosbin atmel_fwl atmel_fwl.pl
+ doman atmel_fwl.8
+ dodoc README VERSION
+}
+
+pkg_postinst() {
+ if use pcmcia && [ -f /var/run/cardmgr.pid ]; then
+ kill -HUP `cat /var/run/cardmgr.pid`
+ fi
+}
+
+pkg_postrm() {
+ if use pcmcia && [ -f /var/run/cardmgr.pid ]; then
+ kill -HUP `cat /var/run/cardmgr.pid`
+ fi
+}