summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/hostapd/Makefile
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
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