diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-27 10:03:43 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-27 10:03:43 +0000 |
commit | 5ae47dda9d2e45e51353fbb23c56a89338c2f69b (patch) | |
tree | a240c4d1bf6302cfa700b913d2eec994838e71ee /net-wireless/zd1211 | |
parent | 2.1.1_pre1-r4 regression fix revbump for #138131. (diff) | |
download | gentoo-2-5ae47dda9d2e45e51353fbb23c56a89338c2f69b.tar.gz gentoo-2-5ae47dda9d2e45e51353fbb23c56a89338c2f69b.tar.bz2 gentoo-2-5ae47dda9d2e45e51353fbb23c56a89338c2f69b.zip |
version bump thanks to Michal Gawlik <manveru@op.pl> in bug 123167
(Portage version: 2.1.1_pre1-r3)
Diffstat (limited to 'net-wireless/zd1211')
-rw-r--r-- | net-wireless/zd1211/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/zd1211/files/digest-zd1211-80 | 3 | ||||
-rw-r--r-- | net-wireless/zd1211/zd1211-80.ebuild | 60 |
3 files changed, 69 insertions, 1 deletions
diff --git a/net-wireless/zd1211/ChangeLog b/net-wireless/zd1211/ChangeLog index 3c8cbf320cc0..c0d76ce580a4 100644 --- a/net-wireless/zd1211/ChangeLog +++ b/net-wireless/zd1211/ChangeLog @@ -1,6 +1,11 @@ # 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.7 2006/05/07 17:03:25 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.8 2006/06/27 10:03:43 genstef Exp $ + +*zd1211-80 (27 Jun 2006) + + 27 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +zd1211-80.ebuild: + version bump thanks to Michal Gawlik <manveru@op.pl> in bug 123167 07 May 2006; Stefan Schweizer <genstef@gentoo.org> zd1211-74.ebuild: Add CONFIG_NET_RADIO check thanks to garfungiloops <stepankov@tut.by> in bug diff --git a/net-wireless/zd1211/files/digest-zd1211-80 b/net-wireless/zd1211/files/digest-zd1211-80 new file mode 100644 index 000000000000..377f58de73f2 --- /dev/null +++ b/net-wireless/zd1211/files/digest-zd1211-80 @@ -0,0 +1,3 @@ +MD5 9bb428df10234b88139a4b1e63aa6fc0 zd1211-driver-r80.tgz 266108 +RMD160 d957258f6a25518ce622ee53dc7fb35a5093e8fa zd1211-driver-r80.tgz 266108 +SHA256 e5a7da27d3354be7beffcf10c1a4e52a2c20143223e03cd6153852acee9af0b1 zd1211-driver-r80.tgz 266108 diff --git a/net-wireless/zd1211/zd1211-80.ebuild b/net-wireless/zd1211/zd1211-80.ebuild new file mode 100644 index 000000000000..08aba967b0c7 --- /dev/null +++ b/net-wireless/zd1211/zd1211-80.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-80.ebuild,v 1.1 2006/06/27 10:03:43 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="~x86 ~ppc ~amd64" +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..." +} |