diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-10-01 14:42:37 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-10-01 14:42:37 +0000 |
commit | 71856bc9909aea3a8bf39519b09057a0a0b1ac99 (patch) | |
tree | d886d7dfd9e6e0d76978860924881a582b90b693 /net-wireless/linux-wlan-ng-firmware | |
parent | Added the local use flags of the new linux-wlan-ng-modules package. (diff) | |
download | gentoo-2-71856bc9909aea3a8bf39519b09057a0a0b1ac99.tar.gz gentoo-2-71856bc9909aea3a8bf39519b09057a0a0b1ac99.tar.bz2 gentoo-2-71856bc9909aea3a8bf39519b09057a0a0b1ac99.zip |
Initial addition for the new split linux-wlan-ng ebuilds.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-wireless/linux-wlan-ng-firmware')
6 files changed, 107 insertions, 0 deletions
diff --git a/net-wireless/linux-wlan-ng-firmware/ChangeLog b/net-wireless/linux-wlan-ng-firmware/ChangeLog new file mode 100644 index 000000000000..58722ff8c548 --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-wireless/linux-wlan-ng-firmware +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-firmware/ChangeLog,v 1.1 2005/10/01 14:38:31 betelgeuse Exp $ + +*linux-wlan-ng-firmware-0.2.2 (01 Oct 2005) + + 01 Oct 2005; Petteri Räty <betelgeuse@gentoo.org> + +files/prism2_makefile-0.2.2.patch, +metadata.xml, + +linux-wlan-ng-firmware-0.2.2.ebuild: + Initial addition for the new split linux-wlan-ng ebuilds. + diff --git a/net-wireless/linux-wlan-ng-firmware/Manifest b/net-wireless/linux-wlan-ng-firmware/Manifest new file mode 100644 index 000000000000..460db6c03d1e --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/Manifest @@ -0,0 +1,4 @@ +MD5 b3ec7f7ca1f168ba1556eefc4842202c linux-wlan-ng-firmware-0.2.2.ebuild 1123 +MD5 14539d26ec261bda643c0b9fa6098bdd metadata.xml 531 +MD5 94e34c91c524fe8f5ab35746a0448fb7 files/prism2_makefile-0.2.2.patch 850 +MD5 f24842a9d1aeeaa901a2423011ef3b38 files/digest-linux-wlan-ng-firmware-0.2.2 72 diff --git a/net-wireless/linux-wlan-ng-firmware/files/digest-linux-wlan-ng-firmware-0.2.2 b/net-wireless/linux-wlan-ng-firmware/files/digest-linux-wlan-ng-firmware-0.2.2 new file mode 100644 index 000000000000..5d45e8b8245e --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/files/digest-linux-wlan-ng-firmware-0.2.2 @@ -0,0 +1 @@ +MD5 54b11244fa50a85b31f21c64a8f259b7 linux-wlan-ng-0.2.2.tar.bz2 458937 diff --git a/net-wireless/linux-wlan-ng-firmware/files/prism2_makefile-0.2.2.patch b/net-wireless/linux-wlan-ng-firmware/files/prism2_makefile-0.2.2.patch new file mode 100644 index 000000000000..fe9b544a854a --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/files/prism2_makefile-0.2.2.patch @@ -0,0 +1,25 @@ +diff -ur linux-wlan-ng-0.2.2.old/src/prism2/Makefile linux-wlan-ng-0.2.2/src/prism2/Makefile +--- linux-wlan-ng-0.2.2.old/src/prism2/Makefile 2005-09-15 23:00:43.113312384 +0300 ++++ linux-wlan-ng-0.2.2/src/prism2/Makefile 2005-09-15 23:02:07.146537392 +0300 +@@ -58,7 +58,7 @@ + rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags + for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done + +-install: ++install-firmware: + mkdir -p $(TARGET_ROOT_ON_HOST)/etc/wlan + cp shared.prism2 $(TARGET_ROOT_ON_HOST)/etc/wlan + mkdir -p $(TARGET_ROOT_ON_HOST)$(FIRMWARE_DIR) +@@ -68,8 +68,12 @@ + cp $$x $(TARGET_ROOT_ON_HOST)$(FIRMWARE_DIR)/prism2_`echo $$x | cut -c1-2`.hex ; \ + fi; \ + done ++ ++install-recursive: + set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done + ++install: install-recursive install-firmware ++ + ctags: + ctags -R + diff --git a/net-wireless/linux-wlan-ng-firmware/linux-wlan-ng-firmware-0.2.2.ebuild b/net-wireless/linux-wlan-ng-firmware/linux-wlan-ng-firmware-0.2.2.ebuild new file mode 100644 index 000000000000..5ff6a6ee5789 --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/linux-wlan-ng-firmware-0.2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-firmware/linux-wlan-ng-firmware-0.2.2.ebuild,v 1.1 2005/10/01 14:38:31 betelgeuse Exp $ + +inherit eutils + +MY_P=${P/-firmware/} + +DESCRIPTION="Firmware for Prism2/2.5/3 based 802.11b wireless LAN products" +HOMEPAGE="http://linux-wlan.org" +SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/prism2_makefile-${PV}.patch +} + +src_compile() { + local config=${S}/config.mk + echo TARGET_ROOT_ON_HOST=${D} >> ${config} + echo FIRMWARE_DIR=/lib/firmware >> ${config} +} + +src_install() { + cd ${S}/src/prism2 + make install-firmware || die "Failed to install firmware" +} + +pkg_postinst() { + einfo "Firmware location has changed to ${ROOT}lib/firmware." + einfo "You can run ebuild <ebuild> config to delete" + einfo "The old files. Because of the default configuration file" + einfo "prorection the files are most likely left your system" + einfo "and are now useless." +} + +pkg_config() { + rm -i ${ROOT}/etc/wlan/*.hex + rm -i ${ROOT}/etc/wlan/*.pda +} diff --git a/net-wireless/linux-wlan-ng-firmware/metadata.xml b/net-wireless/linux-wlan-ng-firmware/metadata.xml new file mode 100644 index 000000000000..e5a6248b8798 --- /dev/null +++ b/net-wireless/linux-wlan-ng-firmware/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +<maintainer> + <email>betelgeuse@gentoo.org</email> + <name>Petteri Räty</name> +</maintainer> +<longdescription> +Firmware for Intersil Prism2/2.5/3 based IEEE 802.11b wireless LAN products. +These wireless cards need a separate firmware which is downloaded by the init +script to the actual device using the prism2dl program in the linux-wlan-ng +package. +</longdescription> +</pkgmetadata> |