Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:= aircrack-ng
  7. PKG_VERSION:= 1.0-rc3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 37884de939af82eab60d3e7d165b40ad
  10. PKG_DESCR:= set of tools for auditing wireless networks
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= libpthread libopenssl libpcap
  13. PKG_URL:= http://www.aircrack-ng.org
  14. PKG_SITES:= http://download.aircrack-ng.org/
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,AIRCRACK_NG,aircrack-ng,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. BUILD_STYLE= auto
  18. INSTALL_STYLE= auto
  19. XAKE_FLAGS+= CC="$(TARGET_CC)" \
  20. CFLAGS="$(TARGET_CFLAGS) -Wall" \
  21. CROSS="$(TARGET_CROSS)" OSNAME="Linux" \
  22. prefix="/usr"
  23. post-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 $(IDIR_AIRCRACK_NG)/usr/bin/
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  30. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  31. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk