Makefile 947 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.19
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3b88743f9c6ce8a7e2f5fd7d18fdea42
  8. PKG_DESCR:= Tools for setting up WiFi cards via netlink (nl80211)
  9. PKG_SECTION:= wifi
  10. PKG_DEPENDS:= libnl
  11. PKG_BUILDDEP:= libnl
  12. PKG_URL:= http://wireless.kernel.org/en/users/Documentation/iw
  13. PKG_SITES:= http://wireless.kernel.org/download/iw/
  14. PKG_DFLT_IW:= y if ADK_HARDWARE_IBM_X40
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,IW,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. TCFLAGS+= $(TCPPFLAGS)
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_IW}/usr/sbin
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iw ${IDIR_IW}/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk