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