source: packages/net/aircrack-ng/Makefile @ 22092

Last change on this file since 22092 was 22092, checked in by nico, 6 years ago

[packages] aircrack-ng: remove obsolete patch (thanks swalker!)

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=aircrack-ng
11PKG_VERSION:=1.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \
16        http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/
17PKG_MD5SUM:=f7a24ed8fad122c4187d06bfd6f998b4
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/aircrack-ng
22  SECTION:=net
23  CATEGORY:=Network
24  DEPENDS:=+libpthread +libopenssl +libpcap
25  TITLE:=next generation of aircrack with new features
26  URL:=http://www.aircrack-ng.org/
27  SUBMENU:=wireless
28endef
29
30define Package/aircrack-ng/description
31Aircrack-ng is the next generation of aircrack with new features
32endef
33
34define Build/Configure
35endef
36
37define Build/Compile
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)" \
42                prefix="/usr" \
43                DESTDIR="$(PKG_INSTALL_DIR)" \
44                OSNAME=Linux \
45                all install
46endef
47
48define 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/
53endef
54
55$(eval $(call BuildPackage,aircrack-ng))
Note: See TracBrowser for help on using the repository browser.