From b7458171c1a8e194d326b72f97e828e99cc05e08 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Wed, 3 May 2006 22:00:22 +0000 Subject: Version bump thanks to Francesco Monica and Aron Griffis in bug 131334 (Portage version: 2.1_pre10-r2) --- net-wireless/zd1211/ChangeLog | 11 +++++- net-wireless/zd1211/files/digest-zd1211-74 | 3 ++ net-wireless/zd1211/zd1211-74.ebuild | 57 ++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 net-wireless/zd1211/files/digest-zd1211-74 create mode 100644 net-wireless/zd1211/zd1211-74.ebuild (limited to 'net-wireless') diff --git a/net-wireless/zd1211/ChangeLog b/net-wireless/zd1211/ChangeLog index a2b9050d85ae..65606d5edb49 100644 --- a/net-wireless/zd1211/ChangeLog +++ b/net-wireless/zd1211/ChangeLog @@ -1,6 +1,15 @@ # 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.5 2006/01/13 14:18:39 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.6 2006/05/03 22:00:22 genstef Exp $ + +*zd1211-74 (03 May 2006) + + 03 May 2006; Stefan Schweizer + -files/zd1211-gentoo-20051028.diff, +zd1211-74.ebuild, + -zd1211-20050315.ebuild, -zd1211-20050822.ebuild, + -zd1211-20050822-r1.ebuild, -zd1211-20060109.ebuild: + Version bump thanks to Francesco Monica and Aron + Griffis in bug 131334 *zd1211-20060109 (13 Jan 2006) diff --git a/net-wireless/zd1211/files/digest-zd1211-74 b/net-wireless/zd1211/files/digest-zd1211-74 new file mode 100644 index 000000000000..bb336f377c5c --- /dev/null +++ b/net-wireless/zd1211/files/digest-zd1211-74 @@ -0,0 +1,3 @@ +MD5 17d940519358cca223795daf0be4394e zd1211-driver-r74.tgz 265932 +RMD160 a44ebe2d2c5148b7f305188a0010be8471bb8724 zd1211-driver-r74.tgz 265932 +SHA256 6e77163f49b9d6fff3b63ee7d513e45d9e4641c9b284cbae569622b9c5809692 zd1211-driver-r74.tgz 265932 diff --git a/net-wireless/zd1211/zd1211-74.ebuild b/net-wireless/zd1211/zd1211-74.ebuild new file mode 100644 index 000000000000..67f476e2fa18 --- /dev/null +++ b/net-wireless/zd1211/zd1211-74.ebuild @@ -0,0 +1,57 @@ +# 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-74.ebuild,v 1.1 2006/05/03 22:00:22 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" + +pkg_setup() { + linux-mod_pkg_setup + + if [ "${KV:0:3}" == "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) -o apdbg apdbg.c +} + +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..." +} -- cgit v1.2.3-65-gdbad