3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=r1158-20051215
8 PKG_MD5SUM
:=0ef00a095359e5af313f52446ebfbbf1
10 PKG_SOURCE_URL
:=http
://snapshots.madwifi.org
/madwifi-ng
11 PKG_SOURCE
:=$(PKG_NAME
)-trunk-
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-ng-
$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,MADWIFI_TOOLS
,madwifi-tools
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
),kmod-madwifi
))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
)/tools \
25 $(TARGET_CONFIGURE_OPTS
)
28 $(IPKG_MADWIFI_TOOLS
):
29 mkdir
-p
$(IDIR_MADWIFI_TOOLS
)/usr
/sbin
30 cp
-fpR
$(PKG_BUILD_DIR
)/tools
/athstats \
31 $(PKG_BUILD_DIR
)/tools
/athdebug \
32 $(PKG_BUILD_DIR
)/tools
/80211stats \
33 $(PKG_BUILD_DIR
)/tools
/80211debug \
34 $(PKG_BUILD_DIR
)/tools
/athctrl \
35 $(PKG_BUILD_DIR
)/tools
/athkey \
36 $(PKG_BUILD_DIR
)/tools
/wlanconfig \
37 $(IDIR_MADWIFI_TOOLS
)/usr
/sbin
38 $(RSTRIP
) $(IDIR_MADWIFI_TOOLS
)
39 $(IPKG_BUILD
) $(IDIR_MADWIFI_TOOLS
) $(PACKAGE_DIR
)