28 lines
578 B
Makefile
28 lines
578 B
Makefile
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=respondd-wifi
|
||
|
PKG_VERSION:=1
|
||
|
PKG_RELEASE:=1
|
||
|
|
||
|
PKG_LICENSE:=BSD-2-Clause
|
||
|
|
||
|
PKG_BUILD_DEPENDS := respondd
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
|
||
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny
|
||
|
|
||
|
define Package/respondd-wifi/Default
|
||
|
SECTION:=net
|
||
|
CATEGORY:=Network
|
||
|
TITLE:=Add wifi statistics to respondd
|
||
|
DEPENDS:=+respondd +libnl-tiny
|
||
|
endef
|
||
|
|
||
|
define Package/respondd-wifi/install
|
||
|
$(INSTALL_DIR) $(1)/usr/lib/respondd
|
||
|
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/usr/lib/respondd/wifi.so
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,respondd-wifi))
|