packages/net/wdiag/Makefile
juhosg 101d92be44 packages/wdiag: fix whitespaces
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 07:05:03 +00:00

45 lines
972 B
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=wdiag
PKG_VERSION:=0.10
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/wdiag
PKG_MD5SUM:=83a4e5610ec8fa0166c57b9a25f0b069
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/wdiag
SECTION:=net
CATEGORY:=Network
TITLE:=Westell DSL Modem Diagnostics for Linux
URL:=http://sourceforge.net/projects/wdiag/
endef
define Package/wdiag/description
A collection of utilities to get DSL stats from Westell DSL modems.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)"
endef
define Package/wdiag/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/w{start,stop,estell} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wdiag))