Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= 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. BUILD_STYLE:= auto
  19. do-configure:
  20. ${CP} ./files/hostapd.config ${WRKBUILD}/.config
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_HOSTAPD_UTILS}/usr/sbin
  23. ${INSTALL_BIN} ${WRKBUILD}/hostapd_cli ${IDIR_HOSTAPD_UTILS}/usr/sbin/
  24. ${INSTALL_DIR} ${IDIR_HOSTAPD}/etc
  25. ${INSTALL_DIR} ${IDIR_HOSTAPD}/usr/sbin
  26. ${INSTALL_BIN} ${WRKBUILD}/hostapd ${IDIR_HOSTAPD}/usr/sbin/
  27. ${INSTALL_DATA} ./files/hostapd.conf ${IDIR_HOSTAPD}/etc
  28. include ${TOPDIR}/mk/pkg-bottom.mk