add svn:keywords and Id tag
[openwrt.git] / openwrt / package / aircrack / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=aircrack
4 PKG_VERSION:=2.3
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=8c0c88abe107ca26d019d8f43958e60a
7
8 PKG_SOURCE_URL:=http://www.cr0.net:8040/code/network/
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,AIRCRACK,aircrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 rm -rf $(PKG_INSTALL_DIR)
24 mkdir -p $(PKG_INSTALL_DIR)
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 CC="$(TARGET_CC)" \
27 CFLAGS="$(TARGET_CFLAGS) -Wall" \
28 CROSS="$(TARGET_CROSS)" \
29 prefix="/usr" \
30 DESTDIR="$(PKG_INSTALL_DIR)" \
31 all install
32 touch $@
33
34 $(IPKG_AIRCRACK):
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)
43
This page took 0.043683 seconds and 5 git commands to generate.