2006-07-30 16:12:51 +00:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aircrack-ng
|
2006-10-16 09:20:19 +00:00
|
|
|
PKG_VERSION:=0.6.2
|
2006-07-30 16:12:51 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-10-16 09:20:19 +00:00
|
|
|
PKG_MD5SUM:=0b1a9fb6818822f933336efc9fff316b
|
2006-07-30 16:12:51 +00:00
|
|
|
|
2006-08-29 08:14:41 +00:00
|
|
|
PKG_SOURCE_URL:=http://download.aircrack-ng.org/
|
2006-07-30 16:12:51 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/aircrack-ng
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Aircrack-ng the next generation of aircrack with new features
|
2006-08-11 17:55:13 +00:00
|
|
|
DEPENDS:=+libpthread
|
2006-07-30 16:12:51 +00:00
|
|
|
DESCRIPTION:=Aircrack-ng the next generation of aircrack with new features
|
|
|
|
URL:=http://www.aircrack-ng.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
rm -rf $(PKG_INSTALL_DIR)
|
|
|
|
mkdir -p $(PKG_INSTALL_DIR)
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2006-08-18 21:21:06 +00:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2006-07-30 16:12:51 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -Wall" \
|
|
|
|
prefix="/usr" \
|
|
|
|
destdir="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aircrack-ng/install
|
|
|
|
install -d -m0755 $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/aircrack-ng $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/airdecap-ng $(1)/usr/bin/
|
2006-10-16 09:20:19 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/packetforge-ng $(1)/usr/bin/
|
2006-07-30 16:12:51 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ivstools $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/kstats $(1)/usr/bin/
|
|
|
|
install -d -m0755 $(1)/usr/sbin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/aireplay-ng $(1)/usr/sbin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/airodump-ng $(1)/usr/sbin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/airmon-ng $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,aircrack-ng))
|