0
0
Fork 0
haikuports/net-wireless/wpa_supplicant/wpa_supplicant-2.7~devel.ha...

51 lines
1.3 KiB
Bash

SUMMARY="A WPA Supplicant with support for WPA and WPA2"
DESCRIPTION="
wpa_supplicant is a WPA Supplicant for Linux, BSD, macOS, Windows, and Haiku \
with support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both \
desktop/laptop computers and embedded systems. Supplicant is the IEEE \
802.1X/WPA component that is used in the client stations. It implements key \
negotiation with a WPA Authenticator and it controls the roaming and IEEE \
802.11 authentication/association of the wlan driver."
HOMEPAGE="https://w1.fi/wpa_supplicant/"
COPYRIGHT="2003-2018 Jouni Malinen"
LICENSE="BSD (2-clause)
GNU GPL v2"
REVISION="2"
SOURCE_URI="https://github.com/haiku/wpa_supplicant/archive/2.7devel.haiku.1.tar.gz"
CHECKSUM_SHA256="ed18b891907747617e1ad6dcdfb8e4269f21197a03352a1a5042037efab2d3f2"
SOURCE_DIR="wpa_supplicant-2.7devel.haiku.1"
ARCHITECTURES="all"
PROVIDES="
wpa_supplicant = $portVersion compat >= 2
cmd:wpa_supplicant = $portVersion compat >= 2
"
REQUIRES="
haiku
lib:libssl
"
BUILD_REQUIRES="
devel:libssl >= 1.0.0
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
cd wpa_supplicant
CFLAGS="-MMD -O2 -Wall" make wpa_supplicant LDO=g++
}
INSTALL()
{
cd wpa_supplicant
mkdir -p $binDir
cp -v wpa_supplicant $binDir
}