mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-17 17:51:28 +01:00
-------------------------------------------------------------------------------
* b1946c0 ubus call router clients gives bytes/rate details for wireless clients
-------------------------------------------------------------------------------
commit b1946c0c6bd45a9ea271afdebda86bfd4d264abb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-02-11 16:48:37 +0100
ubus call router clients gives bytes/rate details for wireless clients
Base directory -> /
questd.c | 119 ++++++++++++++++++++++++++++++---------------------------------
1 file changed, 57 insertions(+), 62 deletions(-)
-------------------------------------------------------------------------------
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=2.0.3
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE_VERSION:=b1946c0c6bd45a9ea271afdebda86bfd4d264abb
|
|
PKG_SOURCE_PROTO:=git
|
|
ifeq ($(CONFIG_BCM_OPEN),y)
|
|
PKG_SOURCE_URL:=http://public.inteno.se/questd
|
|
else
|
|
PKG_SOURCE_URL:=git@public.inteno.se:questd
|
|
endif
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
LDFLAGS+= \
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
-Wl,-rpath-link=$(STAGING_DIR)/lib
|
|
|
|
ifeq ($(CONFIG_PACKAGE_bcmkernel),y)
|
|
BCMKERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
|
|
else
|
|
BCMKERNEL_DIR:=$(BUILD_DIR)/bcmopen-consumer/bcm963xx
|
|
endif
|
|
export BCMKERNEL_DIR
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread
|
|
TITLE:=router info daemon
|
|
endef
|
|
|
|
define Package/questd/description
|
|
questd collects system and network information and presents
|
|
this information via ubus
|
|
endef
|
|
|
|
define Package/questd/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_DIR) $(1)/tmp
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|