Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.7.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 02c475f949e5c131856915bbb87fa55d
  8. PKG_DESCR:= WPA Supplicant with support for WPA and WPA2
  9. PKG_SECTION:= net
  10. ifeq (${ADK_COMPILE_WPA_SUPPLICANT_WITH_OPENSSL},y)
  11. PKG_DEPENDS:= libopenssl
  12. PKG_BUILDDEP+= openssl
  13. endif
  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. CONFIG_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. MAKE_FLAGS+= CPPFLAGS='${TCPPFLAGS}' \
  21. LDFLAGS='${TLDFLAGS}' \
  22. OPT_FLAGS='${TCFLAGS}' \
  23. KERNEL=${LINUX_DIR}
  24. do-configure:
  25. ${CP} files/config ${WRKBUILD}/.config
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_WPA_SUPPLICANT}/usr/sbin
  28. ${INSTALL_BIN} ${WRKBUILD}/wpa_cli \
  29. ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  30. ${INSTALL_BIN} ${WRKBUILD}/wpa_passphrase \
  31. ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  32. ${INSTALL_BIN} ${WRKBUILD}/wpa_supplicant \
  33. ${IDIR_WPA_SUPPLICANT}/usr/sbin/
  34. include ${TOPDIR}/mk/pkg-bottom.mk