1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= openssl libpcap
  8. PKG_MD5SUM:= dafbfaf944ca9d523fde4bae86f0c067
  9. PKG_DESCR:= set of tools for auditing wireless networks
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libpthread libopenssl 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. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. XAKE_FLAGS+= CC="$(TARGET_CC)" \
  19. CFLAGS="$(TARGET_CFLAGS) -Wall" \
  20. CROSS="$(TARGET_CROSS)" OSNAME="Linux" \
  21. prefix="/usr"
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/bin
  24. $(INSTALL_DIR) $(IDIR_AIRCRACK_NG)/usr/sbin
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/aircrack-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/airdecap-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/packetforge-ng $(IDIR_AIRCRACK_NG)/usr/bin/
  28. $(INSTALL_BIN) $(WRKINST)/usr/sbin/aireplay-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airodump-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  30. $(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng $(IDIR_AIRCRACK_NG)/usr/sbin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk