diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:12:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:12:22 +0200 |
commit | a41d0c2ba0deabbaa9f6ade63f0dc0bf4cddc24c (patch) | |
tree | 1d4db7deb2afdf0bbcaebf3389c5d3e1932e4a0d /package/wpa_supplicant/Makefile | |
parent | 8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (diff) | |
parent | d2f556494390602b912fac06169ea6ef7552ef2e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/wpa_supplicant/Makefile')
-rw-r--r-- | package/wpa_supplicant/Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile index a5b906c62..e9f603065 100644 --- a/package/wpa_supplicant/Makefile +++ b/package/wpa_supplicant/Makefile @@ -4,19 +4,27 @@ include ${TOPDIR}/rules.mk PKG_NAME:= wpa_supplicant -PKG_VERSION:= 0.7.1 +PKG_VERSION:= 0.7.2 PKG_RELEASE:= 1 -PKG_MD5SUM:= 02c475f949e5c131856915bbb87fa55d +PKG_MD5SUM:= 0e2cb7e4c35667351d8b7ec28c783e6a PKG_DESCR:= WPA Supplicant with support for WPA and WPA2 PKG_SECTION:= net -ifeq (${ADK_COMPILE_WPA_SUPPLICANT_WITH_OPENSSL},y) -PKG_DEPENDS:= libopenssl +ifeq (${ADK_PACKAGE_WPA_SUPPLICANT_WITH_OPENSSL},y) PKG_BUILDDEP+= openssl endif +ifeq (${ADK_PACKAGE_WPA_SUPPLICANT_WITH_GNUTLS},y) +PKG_BUILDDEP+= gnutls +endif PKG_SITES:= http://hostap.epitest.fi/releases/ WRKSRC= ${WRKDIST}/${PKG_NAME} +PKG_CHOICES:= WITH_OPENSSL WITH_GNUTLS +PKGCD_WITH_OPENSSL:= use OpenSSL for crypto +PKGCS_WITH_OPENSSL:= libopenssl +PKGCD_WITH_GNUTLS:= use GnuTLS for crypto +PKGCS_WITH_GNUTLS:= libgnutls + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,WPA_SUPPLICANT,wpa-supplicant,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -31,6 +39,9 @@ MAKE_FLAGS+= CPPFLAGS='${TCPPFLAGS}' \ do-configure: ${CP} files/config ${WRKBUILD}/.config +ifneq (${ADK_PACKAGE_WPA_SUPPLICANT_WITH_GNUTLS},) + ${SED} "s#openssl#gnutls#" ${WRKBUILD}/.config +endif do-install: ${INSTALL_DIR} ${IDIR_WPA_SUPPLICANT}/usr/sbin |