Makefile 1.3 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= wireless-tools
  5. PKG_VERSION:= 29
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e06c222e186f7cc013fd272d023710cb
  8. PKG_DESCR:= wireless tools (for older wireless drivers)
  9. PKG_SECTION:= net/wifi
  10. PKG_SITES:= http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
  11. DISTFILES:= wireless_tools.${PKG_VERSION}.tar.gz
  12. WRKDIST= ${WRKDIR}/wireless_tools.29
  13. include ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,WIRELESS_TOOLS,wireless-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS} -I."
  17. ALL_TARGET:= libiw.so.29 iwmulticall
  18. FAKE_FLAGS:= INSTALL_DIR="${WRKINST}/usr/sbin" \
  19. INSTALL_LIB="${WRKINST}/usr/lib" \
  20. INSTALL_INC="${WRKINST}/usr/include"
  21. INSTALL_TARGET:= install-iwmulticall install-hdr install-dynamic
  22. wireless-tools-install:
  23. ${INSTALL_DIR} ${IDIR_WIRELESS_TOOLS}/usr/sbin
  24. ${INSTALL_DIR} ${IDIR_WIRELESS_TOOLS}/usr/lib
  25. ${INSTALL_DATA} ${WRKINST}/usr/lib/libiw.so.* \
  26. ${IDIR_WIRELESS_TOOLS}/usr/lib/
  27. ${CP} ${WRKINST}/usr/sbin/iw* ${IDIR_WIRELESS_TOOLS}/usr/sbin/
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk