summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-03-24 23:57:17 +0000
committerPeter Johanson <latexer@gentoo.org>2003-03-24 23:57:17 +0000
commitbe4fa909efbfc7b34f925c1a403c6566121ac890 (patch)
tree049bc7235b6a4c915d25e6ed4649f47259032712 /net-wireless/hostap
parenttypo (diff)
downloadhistorical-be4fa909efbfc7b34f925c1a403c6566121ac890.tar.gz
historical-be4fa909efbfc7b34f925c1a403c6566121ac890.tar.bz2
historical-be4fa909efbfc7b34f925c1a403c6566121ac890.zip
Use has_version for PCMCIA_VERSION
Diffstat (limited to 'net-wireless/hostap')
-rw-r--r--net-wireless/hostap/ChangeLog5
-rw-r--r--net-wireless/hostap/hostap-20021012-r1.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/net-wireless/hostap/ChangeLog b/net-wireless/hostap/ChangeLog
index af8f2c19a9db..ded2dbc90037 100644
--- a/net-wireless/hostap/ChangeLog
+++ b/net-wireless/hostap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-wireless/hostap
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap/ChangeLog,v 1.8 2003/03/05 00:08:25 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap/ChangeLog,v 1.9 2003/03/24 23:57:17 latexer Exp $
+
+ 24 Mar 2003; Peter Johanson <latexer@gentoo.org> hostap-20021012-r1.ebuild :
+ Use has_version to set PCMCIA_VERSION. using all portage stuff now. should work once and for all.
4 Mar 2003; Peter Johanson <latexer@gentoo.org> hostap-20021012-r1.ebuild :
Use full path to cardmgr and cut, should fix PCMCIA_VERSION once and for all
diff --git a/net-wireless/hostap/hostap-20021012-r1.ebuild b/net-wireless/hostap/hostap-20021012-r1.ebuild
index 289cba27ec7f..25b80bf7c4c4 100644
--- a/net-wireless/hostap/hostap-20021012-r1.ebuild
+++ b/net-wireless/hostap/hostap-20021012-r1.ebuild
@@ -1,13 +1,18 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap/hostap-20021012-r1.ebuild,v 1.8 2003/03/05 00:08:25 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap/hostap-20021012-r1.ebuild,v 1.9 2003/03/24 23:57:17 latexer Exp $
inherit eutils
DESCRIPTION="HostAP wireless drivers"
HOMEPAGE="http://hostap.epitest.fi/"
-PCMCIA_VERSION="`/sbin/cardmgr -V 2>&1 | /usr/bin/cut -f3 -d' '`"
+if [ -n "`use pcmcia`" ]; then
+ has_version '=sys-apps/pcmcia-cs-3.2.1*' && PCMCIA_VERSION="3.2.1"
+ has_version '=sys-apps/pcmcia-cs-3.2.3*' && PCMCIA_VERSION="3.2.3"
+ has_version '=sys-apps/pcmcia-cs-3.2.4*' && PCMCIA_VERSION="3.2.4"
+fi
+
MY_PCMCIA="pcmcia-cs-${PCMCIA_VERSION}"
SRC_URI="http://hostap.epitest.fi/releases/${PN}-2002-10-12.tar.gz
pcmcia? ( mirror://sourceforge/pcmcia-cs/${MY_PCMCIA}.tar.gz )"