2005-10-31 16:02:58 +02:00
|
|
|
# $Id$
|
|
|
|
|
2005-10-17 21:03:48 +03:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aircrack
|
2005-11-30 13:25:43 +02:00
|
|
|
PKG_VERSION:=2.41
|
2005-10-17 21:03:48 +03:00
|
|
|
PKG_RELEASE:=1
|
2005-12-03 21:21:05 +02:00
|
|
|
PKG_MD5SUM:=05a37c8a165efb11ea226829c809deb3
|
2005-10-17 21:03:48 +03:00
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://www.cr0.net:8040/code/network/
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
|
|
|
|
$(eval $(call PKG_template,AIRCRACK,aircrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
|
|
|
rm -rf $(PKG_INSTALL_DIR)
|
|
|
|
mkdir -p $(PKG_INSTALL_DIR)
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -Wall" \
|
|
|
|
CROSS="$(TARGET_CROSS)" \
|
|
|
|
prefix="/usr" \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(IPKG_AIRCRACK):
|
|
|
|
install -d -m0755 $(IDIR_AIRCRACK)/usr/bin
|
2006-02-02 01:53:19 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/aircrack $(IDIR_AIRCRACK)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/airdecap $(IDIR_AIRCRACK)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/aireplay $(IDIR_AIRCRACK)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/airodump $(IDIR_AIRCRACK)/usr/bin/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/arpforge $(IDIR_AIRCRACK)/usr/bin/
|
2005-10-17 21:03:48 +03:00
|
|
|
$(RSTRIP) $(IDIR_AIRCRACK)
|
|
|
|
$(IPKG_BUILD) $(IDIR_AIRCRACK) $(PACKAGE_DIR)
|
|
|
|
|