Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= hostapd
  5. PKG_VERSION:= 0.7.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f47689c62ee8c1c59989b402d4f130c3
  8. PKG_DESCR:= an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libnl libopenssl
  11. PKG_BUILDDEP+= libnl openssl
  12. PKG_URL:= http://hostap.epitest.fi
  13. PKG_SITES:= http://hostap.epitest.fi/releases/
  14. WRKSRC= ${WRKDIST}/${PKG_NAME}
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,HOSTAPD,hostapd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. do-configure:
  21. ${CP} ./files/hostapd.config ${WRKBUILD}/.config
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_HOSTAPD_UTILS}/usr/sbin
  24. ${INSTALL_BIN} ${WRKBUILD}/hostapd_cli ${IDIR_HOSTAPD_UTILS}/usr/sbin/
  25. ${INSTALL_DIR} ${IDIR_HOSTAPD}/etc
  26. ${INSTALL_DIR} ${IDIR_HOSTAPD}/usr/sbin
  27. ${INSTALL_BIN} ${WRKBUILD}/hostapd ${IDIR_HOSTAPD}/usr/sbin/
  28. ${INSTALL_DATA} ./files/hostapd.conf ${IDIR_HOSTAPD}/etc
  29. include ${TOPDIR}/mk/pkg-bottom.mk