3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=303daa6f1b030f8f9a2f00542051b96c
10 PKG_SOURCE_URL
:=http
://download.aircrack-ng.org
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,AIRCRACK_NG
,aircrack-ng
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
31 destdir
="$(PKG_INSTALL_DIR)" \
36 install -d
-m0755
$(IDIR_AIRCRACK_NG
)/usr
/bin
37 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/aircrack-ng
$(IDIR_AIRCRACK_NG
)/usr
/bin
/
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/airdecap-ng
$(IDIR_AIRCRACK_NG
)/usr
/bin
/
39 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/arpforge-ng
$(IDIR_AIRCRACK_NG
)/usr
/bin
/
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/ivstools
$(IDIR_AIRCRACK_NG
)/usr
/bin
/
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/kstats
$(IDIR_AIRCRACK_NG
)/usr
/bin
/
42 install -d
-m0755
$(IDIR_AIRCRACK_NG
)/usr
/sbin
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/aireplay-ng
$(IDIR_AIRCRACK_NG
)/usr
/sbin
/
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/airodump-ng
$(IDIR_AIRCRACK_NG
)/usr
/sbin
/
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/airmon-ng
$(IDIR_AIRCRACK_NG
)/usr
/sbin
/
46 $(RSTRIP
) $(IDIR_AIRCRACK_NG
)
47 $(IPKG_BUILD
) $(IDIR_AIRCRACK_NG
) $(PACKAGE_DIR
)