Makefile 917 B

12345678910111213141516171819202122232425262728293031
  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:= iw
  5. PKG_VERSION:= 0.9.17
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libnl
  8. PKG_MD5SUM:= 427841093ac11c5cbc025a3e13aac139
  9. PKG_DESCR:= Tools for setting up WiFi cards via netlink (nl80211)
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libnl
  12. PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw
  13. PKG_SITES:= http://wireless.kernel.org/download/iw/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IW,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. XAKE_FLAGS:= V=1
  18. BUILD_STYLE:= auto
  19. INSTALL_STYLE:= auto
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_IW}/usr/sbin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/iw ${IDIR_IW}/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk