nico 0c7f8901c4 [packages] aircrack-ng: remove obsolete patch (thanks swalker!)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 07:36:00 +00:00

56 lines
1.3 KiB
Makefile

#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=aircrack-ng
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.aircrack-ng.org/ \
http://archive.aircrack-ng.org/aircrack-ng/$(PKG_VERSION)/
PKG_MD5SUM:=f7a24ed8fad122c4187d06bfd6f998b4
include $(INCLUDE_DIR)/package.mk
define Package/aircrack-ng
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +libopenssl +libpcap
TITLE:=next generation of aircrack with new features
URL:=http://www.aircrack-ng.org/
SUBMENU:=wireless
endef
define Package/aircrack-ng/description
Aircrack-ng is the next generation of aircrack with new features
endef
define Build/Configure
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=0" \
LDFLAGS="$(TARGET_LDFLAGS)" \
prefix="/usr" \
DESTDIR="$(PKG_INSTALL_DIR)" \
OSNAME=Linux \
all install
endef
define Package/aircrack-ng/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,aircrack-ng))