aMule: update to 2.3.1
[openwrt/svn-archive/archive.git] / net / aircrack-ng / Makefile
1 #
2 # Copyright (C) 2006-2011 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.1
12 PKG_RELEASE:=3
13
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:=f7a24ed8fad122c4187d06bfd6f998b4
18
19 PKG_BUILD_PARALLEL:=0
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/aircrack-ng
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libpthread +libopenssl +libpcap
28 TITLE:=next generation of aircrack with new features
29 URL:=http://www.aircrack-ng.org/
30 SUBMENU:=wireless
31 endef
32
33 define Package/aircrack-ng/description
34 Aircrack-ng is the next generation of aircrack with new features
35 endef
36
37 MAKE_FLAGS += \
38 CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=0" \
39 LDFLAGS="$(TARGET_LDFLAGS)" \
40 OSNAME=Linux \
41 prefix="/usr" \
42 sqlite="false" \
43 unstable="true"
44
45 define Package/aircrack-ng/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
50 endef
51
52 $(eval $(call BuildPackage,aircrack-ng))