1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/net/e169-stats/Makefile
Florian Fainelli 5e60e6d2ba e169-stats: rework makefile patch to be more general
Allow the makefile patch to pass CFLAGS, CPPFLAGS, and LDFLAGS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39803
2014-03-08 00:56:45 +00:00

41 lines
925 B
Makefile

#
# Copyright (C) 2010-2014 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:=e169-stats
PKG_VERSION:=0.6
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.mavetju.org/download
PKG_MD5SUM:=2f6f5b984faeec368a867e59cd2cc36d
include $(INCLUDE_DIR)/package.mk
define Package/e169-stats
SECTION:=net
CATEGORY:=Network
TITLE:=Huawei USB modem statistics
URL:=http://www.mavetju.org/weblog/html/00282.html
DEPENDS:=+libncurses
endef
define Package/e169-stats/description
Huawei E169 statistics, works with other Huawei's devices.
endef
MAKE_FLAGS += \
LDFLAGS="$(TARGET_LDFLAGS) -lncurses"
define Package/e169-stats/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/e169-stats $(1)/usr/bin/
endef
$(eval $(call BuildPackage,e169-stats))