Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= aircrack-ng
  5. PKG_VERSION:= 1.1
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= b136b549b7d2a2751c21793100075ea43b28de9af4c1969508bb95bcc92224ad
  8. PKG_DESCR:= set of tools for auditing wireless networks
  9. PKG_SECTION:= net/wifi
  10. PKG_DEPENDS:= libpthread libopenssl libpcap
  11. PKG_BUILDDEP:= openssl libpcap
  12. PKG_URL:= http://www.aircrack-ng.org/
  13. PKG_SITES:= http://download.aircrack-ng.org/
  14. # do not build parallel, otherwise libosdep.a may not be ready when compiling airtun-ng
  15. PKG_NOPARALLEL:= 1
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,AIRCRACK_NG,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. XAKE_FLAGS+= CC="$(TARGET_CC)" TOOL_PREFIX="$(TARGET_CROSS)" \
  21. CFLAGS="$(TARGET_CFLAGS) -Wall" \
  22. OSNAME="Linux" prefix="/usr"
  23. aircrack-ng-install:
  24. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/bin
  25. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/sbin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/aircrack-ng \
  27. $(IDIR_AIRCRACK_NG)/usr/bin/
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng \
  29. $(IDIR_AIRCRACK_NG)/usr/bin/
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng \
  31. $(IDIR_AIRCRACK_NG)/usr/bin/
  32. $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng \
  33. $(IDIR_AIRCRACK_NG)/usr/sbin/
  34. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng \
  35. $(IDIR_AIRCRACK_NG)/usr/sbin/
  36. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng \
  37. $(IDIR_AIRCRACK_NG)/usr/sbin/
  38. include ${ADK_TOPDIR}/mk/pkg-bottom.mk