You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=aircrack-ng
  9. PKG_VERSION:=1.2-rc1
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPLv2
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \
  14. http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/
  15. PKG_MD5SUM:=c2f8648c92f7e46051c86c618d4fb0d5
  16. PKG_BUILD_PARALLEL:=1
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/aircrack-ng
  20. SECTION:=net
  21. CATEGORY:=Network
  22. DEPENDS:=+libpcap +libpthread +libopenssl +libnl +wireless-tools +ethtool
  23. TITLE:=WLAN tools for breaking 802.11 WEP/WPA keys
  24. URL:=http://www.aircrack-ng.org/
  25. MAINTAINER:=Rick Farina <zerochaos@gentoo.org>
  26. SUBMENU:=wireless
  27. endef
  28. define Package/aircrack-ng/description
  29. WLAN tools for breaking 802.11 WEP/WPA keys
  30. endef
  31. MAKE_FLAGS += prefix=/usr \
  32. libnl=true \
  33. sqlite=false \
  34. unstable=false \
  35. OSNAME=Linux
  36. define Package/aircrack-ng/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  39. $(INSTALL_DIR) $(1)/usr/sbin
  40. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
  41. endef
  42. $(eval $(call BuildPackage,aircrack-ng))