This patch adds the ath_info Package for the atheros wifi cards. Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>
--- diff -Nrub packages/package/ath_info/Makefile packages-new/package/ath_info/Makefile --- packages/package/ath_info/Makefile 1970-01-01 02:00:00.000000000 +0200 +++ packages-new/package/ath_info/Makefile 2008-07-24 13:12:23.000000000 +0300 @@ -0,0 +1,44 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 6735 2008-07-24 12:35:26Z acoul $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ath_info +PKG_REV:=3823 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://svn.madwifi.org/ath_info/trunk/ +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_PROTO:=svn + +include $(INCLUDE_DIR)/package.mk + +define Package/ath_info + SECTION:=net + CATEGORY:=Network + DEPENDS:=kmod-madwifi + TITLE:=Atheros wifi card utility + URL:=http://www.madwifi.org/ +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -Wall" \ + all +endef + +define Package/ath_info/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ath_info $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,ath_info)) _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
