1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=8c0c88abe107ca26d019d8f43958e60a
8 PKG_SOURCE_URL
:=http
://www.cr0.net
:8040/code
/network
/
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
13 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,AIRCRACK
,aircrack
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 rm -rf
$(PKG_INSTALL_DIR
)
24 mkdir
-p
$(PKG_INSTALL_DIR
)
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
28 CROSS
="$(TARGET_CROSS)" \
30 DESTDIR
="$(PKG_INSTALL_DIR)" \
35 install -d
-m0755
$(IDIR_AIRCRACK
)/usr
/bin
36 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/aircrack
$(IDIR_AIRCRACK
)/usr
/bin
/
37 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/airdecap
$(IDIR_AIRCRACK
)/usr
/bin
/
38 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/aireplay
$(IDIR_AIRCRACK
)/usr
/bin
/
39 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/airodump
$(IDIR_AIRCRACK
)/usr
/bin
/
40 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/arpforge
$(IDIR_AIRCRACK
)/usr
/bin
/
41 $(RSTRIP
) $(IDIR_AIRCRACK
)
42 $(IPKG_BUILD
) $(IDIR_AIRCRACK
) $(PACKAGE_DIR
)