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 http
://archive.aircrack-ng.org
/aircrack-ng
/$(PKG_VERSION
)/
17 PKG_MD5SUM
:=dafbfaf944ca9d523fde4bae86f0c067
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/aircrack-ng
24 DEPENDS
:=+libpthread
+libopenssl
+libpcap
25 TITLE
:=next generation of aircrack with new features
26 URL
:=http
://www.aircrack-ng.org
/
30 define Package
/aircrack-ng
/description
31 Aircrack-ng is the next generation of aircrack with new features
34 define Build
/Configure
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
39 $(TARGET_CONFIGURE_OPTS
) \
40 CFLAGS
="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=0" \
41 LDFLAGS
="$(TARGET_LDFLAGS)" \
43 DESTDIR
="$(PKG_INSTALL_DIR)" \
48 define Package
/aircrack-ng
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
51 $(INSTALL_DIR
) $(1)/usr
/sbin
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
55 $(eval
$(call BuildPackage
,aircrack-ng
))