# # Copyright (C) 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:=sqm-scripts PKG_SOURCE_VERSION:=77cf89e82ced9b215cc02f64fd471f5278b7d031 PKG_VERSION:=1.8.0 PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts PKG_MIRROR_HASH:=65322cd90305838d6aab49b433e37b4601b603184bfe2442bee6c996d2bf7ade PKG_MAINTAINER:=Toke Høiland-Jørgensen PKG_LICENSE:=GPL-2.0-only include $(INCLUDE_DIR)/package.mk define Package/sqm-scripts SECTION:=net CATEGORY:=Base system DEPENDS:=+tc +ip +kmod-sched-cake +kmod-ifb +nftables TITLE:=SQM Scripts (QoS) PKGARCH:=all endef define Package/sqm-scripts/description A set of scripts that does simple SQM configuration. endef define Package/sqm-scripts/conffiles /etc/config/sqm /etc/sqm/sqm.conf endef define Package/sqm-scripts/install make -C $(PKG_BUILD_DIR) DESTDIR=$(1) PLATFORM=openwrt install endef $(eval $(call BuildPackage,sqm-scripts))