1
0

Makefile 1.2 KB

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