2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://download.aircrack-ng.org/
17 include $(INCLUDE_DIR)/package.mk
19 define Package/aircrack-ng
22 DEPENDS:=+libpthread +libopenssl +libpcap
23 TITLE:=next generation of aircrack with new features
24 URL:=http://www.aircrack-ng.org/
28 define Package/aircrack-ng/description
29 Aircrack-ng is the next generation of aircrack with new features
32 define Build/Configure
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 $(TARGET_CONFIGURE_OPTS) \
38 CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=0" \
39 LDFLAGS="$(TARGET_LDFLAGS)" \
41 DESTDIR="$(PKG_INSTALL_DIR)" \
46 define Package/aircrack-ng/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
53 $(eval $(call BuildPackage,aircrack-ng))