DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / net / wdiag / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=wdiag
12 PKG_VERSION:=0.8
13 PKG_RELEASE:=1
14
15 PKG_MD5SUM:=248bc2ca318f697e9edce1af945c57bd
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
17 PKG_SOURCE_URL:=@SF/wdiag
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/wdiag
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Westell DSL Modem Diagnostics for Linux
28 URL:=http://sourceforge.net/projects/wdiag/
29 endef
30
31 define Package/wdiag/description
32 A collection of utilities to get DSL stats from Westell DSL modems.
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR)/src \
37 $(TARGET_CONFIGURE_OPTS) \
38 CFLAGS="$(TARGET_CFLAGS)"
39 endef
40
41 define Package/wdiag/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(CP) $(PKG_BUILD_DIR)/src/w{start,stop,estell} $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,wdiag))