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
/
16 PKG_MD5SUM
:=dafbfaf944ca9d523fde4bae86f0c067
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/aircrack-ng
23 DEPENDS
:=+libpthread
+libopenssl
+libpcap
24 TITLE
:=next generation of aircrack with new features
25 URL
:=http
://www.aircrack-ng.org
/
29 define Package
/aircrack-ng
/description
30 Aircrack-ng is the next generation of aircrack with new features
33 define Build
/Configure
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 $(TARGET_CONFIGURE_OPTS
) \
39 CFLAGS
="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=0" \
40 LDFLAGS
="$(TARGET_LDFLAGS)" \
42 DESTDIR
="$(PKG_INSTALL_DIR)" \
47 define Package
/aircrack-ng
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
50 $(INSTALL_DIR
) $(1)/usr
/sbin
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
54 $(eval
$(call BuildPackage
,aircrack-ng
))