diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-09-13 16:48:48 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-09-13 16:48:48 +0000 |
commit | e52a2333d38f38127fb4349a550c85014665dc61 (patch) | |
tree | d29f8073279f0b8257df317be860cc2f8330381e /net-wireless/zd1211 | |
parent | Version bump to 3.2.1. Thanks to Mickey N (Bug #147458). (diff) | |
download | gentoo-2-e52a2333d38f38127fb4349a550c85014665dc61.tar.gz gentoo-2-e52a2333d38f38127fb4349a550c85014665dc61.tar.bz2 gentoo-2-e52a2333d38f38127fb4349a550c85014665dc61.zip |
Version bump thanks to Matt Manjos <mattdev121@gmail.com> in bug 147391
(Portage version: 2.1.1)
Diffstat (limited to 'net-wireless/zd1211')
-rw-r--r-- | net-wireless/zd1211/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/zd1211/files/digest-zd1211-83 | 3 | ||||
-rw-r--r-- | net-wireless/zd1211/zd1211-83.ebuild | 60 |
3 files changed, 70 insertions, 1 deletions
diff --git a/net-wireless/zd1211/ChangeLog b/net-wireless/zd1211/ChangeLog index c0d76ce580a4..23e32f0ac900 100644 --- a/net-wireless/zd1211/ChangeLog +++ b/net-wireless/zd1211/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/zd1211 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.8 2006/06/27 10:03:43 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.9 2006/09/13 16:48:48 genstef Exp $ + +*zd1211-83 (13 Sep 2006) + + 13 Sep 2006; Stefan Schweizer <genstef@gentoo.org> -zd1211-74.ebuild, + -zd1211-80.ebuild, +zd1211-83.ebuild: + Version bump thanks to Matt Manjos <mattdev121@gmail.com> in bug 147391 *zd1211-80 (27 Jun 2006) diff --git a/net-wireless/zd1211/files/digest-zd1211-83 b/net-wireless/zd1211/files/digest-zd1211-83 new file mode 100644 index 000000000000..785c1777a04b --- /dev/null +++ b/net-wireless/zd1211/files/digest-zd1211-83 @@ -0,0 +1,3 @@ +MD5 a5751f0e6f1f368689077fa7758a4932 zd1211-driver-r83.tgz 266168 +RMD160 fc8a2f37c3e22838015e86a17460ecb78adfdb25 zd1211-driver-r83.tgz 266168 +SHA256 8288a1299f8c6f0176f2cd1b51f83b2c4b919460a2aa4fe98699b019e583bfc1 zd1211-driver-r83.tgz 266168 diff --git a/net-wireless/zd1211/zd1211-83.ebuild b/net-wireless/zd1211/zd1211-83.ebuild new file mode 100644 index 000000000000..bf97706f4d45 --- /dev/null +++ b/net-wireless/zd1211/zd1211-83.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/zd1211-83.ebuild,v 1.1 2006/09/13 16:48:48 genstef Exp $ + +inherit linux-mod toolchain-funcs eutils + +DESCRIPTION="Driver for the zd1211 wireless chipset" +HOMEPAGE="http://zd1211.ath.cx/" +SRC_URI="http://zd1211.ath.cx/download/${PN}-driver-r${PV}.tgz" +S=${WORKDIR}/${PN}-driver-r${PV} +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND="net-wireless/wireless-tools" + +MODULE_NAMES="${PN}(net:${S}/rel_a:${S}) ${PN}b(net:${S}/rel_b:${S})" +BUILD_TARGETS="all" + +CONFIG_CHECK="NET_RADIO" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 6; then + BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=y" + else + BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=n" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + mkdir rel_a rel_b + echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile + echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile +} + +src_compile() { + linux-mod_src_compile + $(tc-getCC) ${CFLAGS} ${LDFLAGS} apdbg.c -o apdbg +} + +src_install() { + linux-mod_src_install + dosbin apdbg +} + +pkg_postinst() { + linux-mod_pkg_postinst + + ewarn "This package installs two new modules named zd1211 and zd1211b" + ewarn "This is done because ZyDAS corp. had made two different versions" + ewarn "of the ZD1211 Chipset." + ewarn "Please look at ${HOMEPAGE} to see which one is the best" + ewarn "for your WiFi adapter or, if you prefer, launch both..." +} |