mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
35 lines
586 B
Makefile
35 lines
586 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ratelimit
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ratelimit
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=Wireless ratelimiting
|
|
DEPENDS:=+tc +kmod-ifb
|
|
endef
|
|
|
|
define Package/ratelimit/description
|
|
Allow Wireless client rate limiting
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Compile/Default
|
|
|
|
endef
|
|
Build/Compile = $(Build/Compile/Default)
|
|
|
|
define Package/ratelimit/install
|
|
$(CP) ./files/* $(1)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ratelimit))
|