source: trunk/openwrt/package/aircrack/Makefile @ 2577

Last change on this file since 2577 was 2577, checked in by nico, 11 years ago

fix wrong md5sum

  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1# $Id$
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=aircrack
6PKG_VERSION:=2.41
7PKG_RELEASE:=1
8PKG_MD5SUM:=05a37c8a165efb11ea226829c809deb3
9
10PKG_SOURCE_URL:=http://www.cr0.net:8040/code/network/
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
12PKG_CAT:=zcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17include $(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
Note: See TracBrowser for help on using the repository browser.