2006-10-30 13:51:50 +00:00
|
|
|
#
|
2009-02-12 10:09:41 +00:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2006-07-30 16:12:51 +00:00
|
|
|
#
|
|
|
|
# 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
|
2009-02-12 10:09:41 +00:00
|
|
|
PKG_REV:=1396
|
2008-08-14 15:21:04 +00:00
|
|
|
PKG_VERSION:=r$(PKG_REV)
|
2006-07-30 16:12:51 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2008-08-14 15:21:04 +00:00
|
|
|
PKG_SOURCE_URL:=http://trac.aircrack-ng.org/svn/trunk/
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
PKG_SOURCE_PROTO:=svn
|
2006-07-30 16:12:51 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/aircrack-ng
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2008-08-14 21:24:49 +00:00
|
|
|
DEPENDS:=+libpthread +libopenssl +libpcap
|
2007-05-17 21:54:37 +00:00
|
|
|
TITLE:=next generation of aircrack with new features
|
2007-01-08 11:19:08 +00:00
|
|
|
URL:=http://www.aircrack-ng.org/
|
2007-10-18 18:37:22 +00:00
|
|
|
SUBMENU:=wireless
|
2006-07-30 16:12:51 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/aircrack-ng/description
|
|
|
|
Aircrack-ng is the next generation of aircrack with new features
|
|
|
|
endef
|
|
|
|
|
2006-07-30 16:12:51 +00:00
|
|
|
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) \
|
2009-04-29 12:56:17 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -Wall -Iinclude/ $(TARGET_CPPFLAGS) -D_REVISION=$(PKG_REV)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
2006-07-30 16:12:51 +00:00
|
|
|
prefix="/usr" \
|
2008-08-14 15:21:04 +00:00
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
2009-03-18 00:36:17 +00:00
|
|
|
OSNAME=Linux \
|
2007-01-08 11:19:08 +00:00
|
|
|
all install
|
2006-07-30 16:12:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aircrack-ng/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2008-08-14 15:21:04 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2008-08-14 15:21:04 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
|
2006-07-30 16:12:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,aircrack-ng))
|