Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= aircrack-ng
  5. PKG_VERSION:= 1.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f7a24ed8fad122c4187d06bfd6f998b4
  8. PKG_DESCR:= set of tools for auditing wireless networks
  9. PKG_SECTION:= 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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,AIRCRACK_NG,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. XAKE_FLAGS+= CC="$(TARGET_CC)" TOOL_PREFIX="$(TARGET_CROSS)" \
  18. CFLAGS="$(TARGET_CFLAGS) -Wall" \
  19. OSNAME="Linux" prefix="/usr"
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/bin
  22. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/sbin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/aircrack-ng \
  24. $(IDIR_AIRCRACK_NG)/usr/bin/
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng \
  26. $(IDIR_AIRCRACK_NG)/usr/bin/
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng \
  28. $(IDIR_AIRCRACK_NG)/usr/bin/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng \
  30. $(IDIR_AIRCRACK_NG)/usr/sbin/
  31. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng \
  32. $(IDIR_AIRCRACK_NG)/usr/sbin/
  33. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng \
  34. $(IDIR_AIRCRACK_NG)/usr/sbin/
  35. include ${TOPDIR}/mk/pkg-bottom.mk