|
@@ -0,0 +1,52 @@
|
|
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
|
+
|
|
8
|
+include $(TOPDIR)/rules.mk
|
|
9
|
+
|
|
10
|
+PKG_NAME:=aircrack-ng
|
|
11
|
+PKG_VERSION:=1.2-rc1
|
|
12
|
+PKG_RELEASE:=1
|
|
13
|
+PKG_LICENSE:=GPLv2
|
|
14
|
+
|
|
15
|
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
16
|
+PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \
|
|
17
|
+ http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/
|
|
18
|
+PKG_MD5SUM:=c2f8648c92f7e46051c86c618d4fb0d5
|
|
19
|
+
|
|
20
|
+PKG_BUILD_PARALLEL:=1
|
|
21
|
+PKG_INSTALL:=1
|
|
22
|
+
|
|
23
|
+include $(INCLUDE_DIR)/package.mk
|
|
24
|
+
|
|
25
|
+define Package/aircrack-ng
|
|
26
|
+ SECTION:=net
|
|
27
|
+ CATEGORY:=Network
|
|
28
|
+ DEPENDS:=+libpcap +libpthread +libopenssl +libnl +wireless-tools +ethtool
|
|
29
|
+ TITLE:=WLAN tools for breaking 802.11 WEP/WPA keys
|
|
30
|
+ URL:=http://www.aircrack-ng.org/
|
|
31
|
+ MAINTAINER:=Rick Farina <zerochaos@gentoo.org>
|
|
32
|
+ SUBMENU:=wireless
|
|
33
|
+endef
|
|
34
|
+
|
|
35
|
+define Package/aircrack-ng/description
|
|
36
|
+ WLAN tools for breaking 802.11 WEP/WPA keys
|
|
37
|
+endef
|
|
38
|
+
|
|
39
|
+MAKE_FLAGS += prefix=/usr \
|
|
40
|
+ libnl=true \
|
|
41
|
+ sqlite=false \
|
|
42
|
+ unstable=false \
|
|
43
|
+ OSNAME=Linux
|
|
44
|
+
|
|
45
|
+define Package/aircrack-ng/install
|
|
46
|
+ $(INSTALL_DIR) $(1)/usr/bin
|
|
47
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
48
|
+ $(INSTALL_DIR) $(1)/usr/sbin
|
|
49
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
|
|
50
|
+endef
|
|
51
|
+
|
|
52
|
+$(eval $(call BuildPackage,aircrack-ng))
|