mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 01:44:24 +08:00
update 2026-09-26 11:07:27
This commit is contained in:
1 parent
7b88b273d0
commit
97ae9f68da
4898 files changed
-1712274
No files matched your search
@@ -1,50 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 Xmlad.com
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wrtbwmon
|
||||
PKG_VERSION:=1.2.1
|
||||
PKG_RELEASE:=3
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/wrtbwmon
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+iptables +@BUSYBOX_CONFIG_IP
|
||||
TITLE:=A Traffic Usage Monitor
|
||||
SUBMENU:=Tools
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/wrtbwmon/description
|
||||
An CERNET client daemon,
|
||||
Most usually used in China collages.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/wrtbwmon/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/share/wrtbwmon
|
||||
$(INSTALL_BIN) ./net/usr/sbin/* $(1)/usr/sbin/
|
||||
$(INSTALL_BIN) ./net/usr/share/wrtbwmon/* $(1)/usr/share/wrtbwmon/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/etc/hotplug.d/iface
|
||||
$(INSTALL_BIN) ./net/etc/init.d/wrtbwmon $(1)/etc/init.d/wrtbwmon
|
||||
$(INSTALL_BIN) ./net/etc/config/wrtbwmon $(1)/etc/config/wrtbwmon
|
||||
$(INSTALL_BIN) ./net/etc/hotplug.d/iface/99-wrtbwmon $(1)/etc/hotplug.d/iface/99-wrtbwmon
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,wrtbwmon))
|
||||
Reference in new issue
Block a user