/[gentoo-x86]/net-wireless/wpa-supplicant/wpa-supplicant-0.2.5.ebuild
Gentoo

Diff of /net-wireless/wpa-supplicant/wpa-supplicant-0.2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa-supplicant/Attic/wpa-supplicant-0.2.5.ebuild,v 1.2 2004/10/18 12:27:04 dholm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa-supplicant/Attic/wpa-supplicant-0.2.5.ebuild,v 1.3 2004/11/29 17:43:04 brix Exp $
4 4
5inherit eutils 5inherit toolchain-funcs eutils
6 6
7MADWIFI_VERSION="0.1_pre20040906" 7MADWIFI_VERSION="0.1_pre20040906"
8 8
9MY_P="${P/wpa-/wpa_}" 9MY_P="${P/wpa-/wpa_}"
10S=${WORKDIR}/${MY_P} 10S=${WORKDIR}/${MY_P}
18 18
19SLOT="0" 19SLOT="0"
20KEYWORDS="~x86 ~ppc" 20KEYWORDS="~x86 ~ppc"
21IUSE="gsm pcap ssl" 21IUSE="gsm pcap ssl"
22 22
23DEPEND="sys-apps/sed" 23DEPEND="sys-apps/sed
24 dev-util/pkgconfig"
24RDEPEND="gsm? ( sys-apps/pcsc-lite ) 25RDEPEND="gsm? ( sys-apps/pcsc-lite )
25 pcap? ( net-libs/libpcap 26 pcap? ( net-libs/libpcap
26 dev-libs/libdnet ) 27 dev-libs/libdnet )
27 ssl? ( dev-libs/openssl )" 28 ssl? ( dev-libs/openssl )"
28 29
29src_unpack() { 30src_unpack() {
30 unpack ${A} 31 unpack ${A}
31 32
32 cd ${S} 33 cd ${S}
33 epatch ${WORKDIR}/${MY_P}-ipw2100.diff 34 epatch ${WORKDIR}/${MY_P}-ipw2100.diff
35 epatch ${FILESDIR}/${MY_P}-pkg-config.patch
34 36
35 sed -i "s:madwifi/wpa::" ${S}/Makefile 37 sed -i "s:madwifi/wpa::" ${S}/Makefile
36 38
39 sed -i "s:gcc:$(tc-getCC):g" ${S}/Makefile
40
37 # Use pcap and libdnet if we have it. 41 # Use pcap and libdnet if we have it.
38 if use pcap; then 42 if use pcap; then
39 sed -i "s:^#CFLAGS\(.*\):CFLAGS\1:" ${S}/Makefile 43 sed -i "s:^#\(CFLAGS\):\1:" ${S}/Makefile
40 sed -i "s:^#LIBS\(.*\):LIBS\1:" ${S}/Makefile 44 sed -i "s:^#\(LIBS\):\1:" ${S}/Makefile
41 fi 45 fi
42 46
43 cp ${FILESDIR}/${P}-config ${S}/.config || die 47 cp ${FILESDIR}/${P}-config ${S}/.config || die
44 48
45 if use ssl; then 49 if use ssl; then

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20