summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:10:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:10:39 +0200
commit9a625cd021c2d087a988699dcfc3e512fa163235 (patch)
tree2fbdefdee370f2cd2c5ee76ec62b9dd9b65cbd9c /package/hostapd/Makefile
parentafab289b265ff987c3f62393b3ef707c2650704f (diff)
parent4422cda575db22275b067e07ad4b585572d91756 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: mk/kernel-build.mk package/expat/Makefile package/gettext/Makefile package/perl/Makefile package/zlib/Makefile
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index d547c9c94..0aa427d55 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -9,25 +9,22 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= f47689c62ee8c1c59989b402d4f130c3
PKG_DESCR:= an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator
PKG_SECTION:= wifi
-PKG_MULTI:= 1
-PKG_DEPENDS:= libnl libopenssl
-PKG_BUILDDEP+= libnl openssl
-PKG_URL:= http://hostap.epitest.fi
-ifeq (${ADK_PACKAGE_HOSTAPD_WITH_OPENSSL},y)
-PKG_BUILDDEP+= openssl
-endif
-ifeq (${ADK_PACKAGE_HOSTAPD_WITH_GNUTLS},y)
-PKG_BUILDDEP+= gnutls
-endif
+PKG_DEPENDS:= libnl
+PKG_BUILDDEP:= libnl
+PKG_URL:= http://hostap.epitest.fi/
PKG_SITES:= http://hostap.epitest.fi/releases/
+PKG_MULTI:= 1
-WRKSRC= ${WRKDIST}/${PKG_NAME}
-
+PKG_SUBPKGS:= HOSTAPD HOSTAPD_UTILS
PKG_CHOICES:= WITH_OPENSSL WITH_GNUTLS
PKGCD_WITH_OPENSSL:= use OpenSSL for crypto
PKGCS_WITH_OPENSSL:= libopenssl
+PKGCB_WITH_OPENSSL:= openssl
PKGCD_WITH_GNUTLS:= use GnuTLS for crypto
PKGCS_WITH_GNUTLS:= libgnutls
+PKGCB_WITH_GNUTLS:= gnutls
+
+WRKSRC= ${WRKDIST}/${PKG_NAME}
include ${TOPDIR}/mk/package.mk