Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= wpa_supplicant
  5. PKG_VERSION:= 0.6.9
  6. PKG_RELEASE:= 1
  7. ifeq (${ADK_COMPILE_WPA_SUPPLICANT_WITH_OPENSSL},y)
  8. PKG_BUILDDEP+= openssl
  9. endif
  10. PKG_MD5SUM:= 0efb8fcedf0a8acf6f423dfdb0658fdd
  11. PKG_DESCR:= WPA Supplicant with support for WPA and WPA2
  12. PKG_SECTION:= net
  13. PKG_DEPENDS:= libopenssl
  14. PKG_SITES:= http://hostap.epitest.fi/releases/
  15. WRKSRC= ${WRKDIST}/${PKG_NAME}
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,WPA_SUPPLICANT,wpa-supplicant,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. BUILD_STYLE:= auto
  19. MAKE_FLAGS+= CPPFLAGS='${TCPPFLAGS}' \
  20. LDFLAGS='${TLDFLAGS}' \
  21. OPT_FLAGS='${TCFLAGS}' \
  22. KERNEL=${LINUX_DIR}
  23. do-configure:
  24. ${CP} files/config ${WRKBUILD}/.config
  25. do-install:
  26. ${INSTALL_DIR} ${IDIR_WPA_SUPPLICANT}/usr/sbin
  27. ${INSTALL_BIN} ${WRKBUILD}/wpa_cli ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  28. ${INSTALL_BIN} ${WRKBUILD}/wpa_passphrase ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  29. ${INSTALL_BIN} ${WRKBUILD}/wpa_supplicant ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk