diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.7~devel.haiku.0.recipe b/net-wireless/wpa_supplicant/wpa_supplicant-2.7~devel.haiku.0.recipe new file mode 100644 index 000000000..0f68e238f --- /dev/null +++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.7~devel.haiku.0.recipe @@ -0,0 +1,50 @@ +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="1" +SOURCE_URI="https://github.com/haiku/wpa_supplicant/archive/2.7-devel.haiku.0.tar.gz" +CHECKSUM_SHA256="7da979ed7e3e602a5b9bb2301afbeff626845911c06ae44a469c1ece04d1cda5" +SOURCE_DIR="wpa_supplicant-2.7-devel.haiku.0" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +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 +}