3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=8c0c88abe107ca26d019d8f43958e60a
10 PKG_SOURCE_URL
:=http
://www.cr0.net
:8040/code
/network
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
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
,aircrack
,$(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" \
30 CROSS
="$(TARGET_CROSS)" \
32 DESTDIR
="$(PKG_INSTALL_DIR)" \
37 install -d
-m0755
$(IDIR_AIRCRACK
)/usr
/bin
38 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/aircrack
$(IDIR_AIRCRACK
)/usr
/bin
/
39 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/airdecap
$(IDIR_AIRCRACK
)/usr
/bin
/
40 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/aireplay
$(IDIR_AIRCRACK
)/usr
/bin
/
41 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/airodump
$(IDIR_AIRCRACK
)/usr
/bin
/
42 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/arpforge
$(IDIR_AIRCRACK
)/usr
/bin
/
43 $(RSTRIP
) $(IDIR_AIRCRACK
)
44 $(IPKG_BUILD
) $(IDIR_AIRCRACK
) $(PACKAGE_DIR
)