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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=@SF
/wdiag
17 PKG_MD5SUM
:=26ee93f3e2353ebb5d1df5f3e50eb4fd
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Westell DSL Modem Diagnostics for Linux
27 URL
:=http
://sourceforge.net
/projects
/wdiag
/
30 define Package
/wdiag
/description
31 A collection of utilities to
get DSL stats from Westell DSL modems.
35 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
36 $(TARGET_CONFIGURE_OPTS
) \
37 CFLAGS
="$(TARGET_CFLAGS)"
40 define Package
/wdiag
/install
41 $(INSTALL_DIR
) $(1)/usr
/sbin
42 $(CP
) $(PKG_BUILD_DIR
)/src
/w
{start
,stop
,estell
} $(1)/usr
/sbin
/
45 $(eval
$(call BuildPackage
,wdiag
))