Lines 9-17
Link Here
|
9 |
|
9 |
|
10 |
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" |
10 |
DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" |
11 |
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" |
11 |
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" |
12 |
SRC_URI="http://hostap.epitest.fi/releases/${MY_P}.tar.gz" |
|
|
13 |
LICENSE="|| ( GPL-2 BSD )" |
12 |
LICENSE="|| ( GPL-2 BSD )" |
14 |
|
13 |
|
|
|
14 |
MADWIFI_PV="0.1_pre20050420-r1" |
15 |
MADWIFI_FILENAME="madwifi-cvs-snapshot-${MADWIFI_PV:7:4}-${MADWIFI_PV:11:2}-${MADWIFI_PV:13:2}.tar.bz2" |
16 |
SRC_MADWIFI="http://madwifi.otaku42.de/${MADWIFI_PV:7:4}/${MADWIFI_PV:11:2}/${MADWIFI_FILENAME}" |
17 |
SRC_WPASUPPLICANT="http://hostap.epitest.fi/releases/${MY_P}.tar.gz" |
18 |
|
19 |
SRC_URI="${SRC_WPASUPPLICANT} ${SRC_MADWIFI}" |
20 |
|
15 |
SLOT="0" |
21 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~ppc ~x86" |
22 |
KEYWORDS="~amd64 ~ppc ~x86" |
17 |
IUSE="gsm qt readline ssl" |
23 |
IUSE="gsm qt readline ssl" |
Lines 26-32
Link Here
|
26 |
local CONFIG=${S}/.config |
32 |
local CONFIG=${S}/.config |
27 |
|
33 |
|
28 |
unpack ${A} |
34 |
unpack ${A} |
|
|
35 |
unpack ${MADWIFI_FILENAME} |
29 |
|
36 |
|
|
|
37 |
epatch ${FILESDIR}/${PF}-disableconstant.diff |
38 |
|
30 |
# toolchain setup |
39 |
# toolchain setup |
31 |
echo "CC = $(tc-getCC)" > ${CONFIG} |
40 |
echo "CC = $(tc-getCC)" > ${CONFIG} |
32 |
|
41 |
|
Lines 73-78
Link Here
|
73 |
echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} |
82 |
echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} |
74 |
echo "CONFIG_DRIVER_WEXT=y" >> ${CONFIG} |
83 |
echo "CONFIG_DRIVER_WEXT=y" >> ${CONFIG} |
75 |
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} |
84 |
echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} |
|
|
85 |
echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} |
86 |
echo "CFLAGS += -I../madwifi/include -I../madwifi" >> ${CONFIG} |
76 |
} |
87 |
} |
77 |
|
88 |
|
78 |
src_compile() { |
89 |
src_compile() { |