2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_MD5SUM:=248bc2ca318f697e9edce1af945c57bd
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
17 PKG_SOURCE_URL:=@SF/wdiag
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
22 include $(INCLUDE_DIR)/package.mk
27 TITLE:=Westell DSL Modem Diagnostics for Linux
28 DESCRIPTION:=A collection of utilities to get DSL stats from Westell DSL modems.
29 URL:=http://sourceforge.net/projects/wdiag/
33 $(MAKE) -C $(PKG_BUILD_DIR)/src \
34 $(TARGET_CONFIGURE_OPTS) \
35 CFLAGS="$(TARGET_CFLAGS)"
38 define Package/wdiag/install
39 install -m0755 -d $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/src/w{start,stop,estell} $(1)/usr/sbin/
43 $(eval $(call BuildPackage,wdiag))