2006-08-18 21:04:24 +00:00
|
|
|
#
|
2010-05-02 20:24:50 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-08-18 21:04:24 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=dsl_qos_queue
|
|
|
|
PKG_VERSION:=0.9.3
|
2010-05-02 20:24:50 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-08-18 21:04:24 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
|
|
|
|
PKG_MD5SUM:=ccbe8d28c3508c67f669fe98532533be
|
2006-08-18 21:04:24 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/dsl-qos-queue
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2010-05-02 20:24:50 +00:00
|
|
|
DEPENDS:=+iptables +kmod-ipt-queue +iptables-mod-ipopt @!LINUX_2_6_25 @!LINUX_2_6_26 @!LINUX_2_6_27 @!LINUX_2_6_28
|
2006-08-18 21:04:24 +00:00
|
|
|
TITLE:=ADSL/ATM Bandwith management
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://www.sonicspike.net/software/
|
2006-10-30 13:51:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
2006-08-18 21:04:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2006-10-30 13:51:50 +00:00
|
|
|
$(call Build/Compile/Default, \
|
2009-04-29 12:56:17 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq $(TARGET_CPPFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
2009-05-29 12:01:14 +00:00
|
|
|
LIBIPQ=$(STAGING_DIR)/usr/lib/libipq.a \
|
2006-10-30 13:51:50 +00:00
|
|
|
all \
|
|
|
|
)
|
2006-08-18 21:04:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dsl-qos-queue/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dsl_qos_train $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ipt_rules $(1)/usr/sbin
|
2006-08-18 21:04:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,dsl-qos-queue))
|