Add dsl-qos-queue to -ng and whiterussian, closes #690
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4602 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
48
net/dsl-qos-queue/Makefile
Normal file
48
net/dsl-qos-queue/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id: $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dsl_qos_queue
|
||||
PKG_VERSION:=0.9.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=ccbe8d28c3508c67f669fe98532533be
|
||||
|
||||
PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/dsl-qos-queue
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+iptables +kmod-ipt-queue
|
||||
TITLE:=ADSL/ATM Bandwith management
|
||||
DESCRIPTION:=ADSL/ATM Bandwith management
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default,CC=$(TARGET_CC) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
install_prefix="$(PKG_INSTALL_DIR)" \
|
||||
all)
|
||||
endef
|
||||
|
||||
define Package/dsl-qos-queue/install
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
||||
install -m0755 $(PKG_BUILD_DIR)/dsl_qos_train $(1)/usr/sbin
|
||||
install -m0755 $(PKG_BUILD_DIR)/ipt_rules $(1)/usr/sbin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,dsl-qos-queue))
|
Reference in New Issue
Block a user