diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-05-03 22:00:22 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-05-03 22:00:22 +0000 |
commit | b7458171c1a8e194d326b72f97e828e99cc05e08 (patch) | |
tree | e9e0e51abbb497dd541c7149e3a4838e4d80b5b6 /net-wireless | |
parent | Fix for gcc-4.1 (diff) | |
download | gentoo-2-b7458171c1a8e194d326b72f97e828e99cc05e08.tar.gz gentoo-2-b7458171c1a8e194d326b72f97e828e99cc05e08.tar.bz2 gentoo-2-b7458171c1a8e194d326b72f97e828e99cc05e08.zip |
Version bump thanks to Francesco Monica <fmonica@ce.unipr.it> and Aron Griffis <agriffis@gentoo.org> in bug 131334
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/zd1211/ChangeLog | 11 | ||||
-rw-r--r-- | net-wireless/zd1211/files/digest-zd1211-74 | 3 | ||||
-rw-r--r-- | net-wireless/zd1211/zd1211-74.ebuild | 57 |
3 files changed, 70 insertions, 1 deletions
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 <genstef@gentoo.org> + -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 <fmonica@ce.unipr.it> and Aron + Griffis <agriffis@gentoo.org> 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..." +} |