Makefile 1.4 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= aircrack-ng
  5. PKG_VERSION:= 1.0-rc3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 37884de939af82eab60d3e7d165b40ad
  8. PKG_DESCR:= set of tools for auditing wireless networks
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpthread libopenssl libpcap
  11. PKG_URL:= http://www.aircrack-ng.org
  12. PKG_SITES:= http://download.aircrack-ng.org/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,AIRCRACK_NG,aircrack-ng,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE= auto
  16. INSTALL_STYLE= auto
  17. XAKE_FLAGS+= CC="$(TARGET_CC)" \
  18. CFLAGS="$(TARGET_CFLAGS) -Wall" \
  19. CROSS="$(TARGET_CROSS)" OSNAME="Linux" \
  20. prefix="/usr"
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/bin
  23. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/sbin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/aircrack-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  27. $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  28. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk