2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=dsl_qos_queue
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.sonicspike.net
/software
/download
/
17 PKG_MD5SUM
:=ccbe8d28c3508c67f669fe98532533be
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/dsl-qos-queue
27 DEPENDS
:=+iptables
+kmod-ipt-queue
28 TITLE
:=ADSL
/ATM Bandwith management
31 define Build
/Configure
35 $(call Build
/Compile
/Default
, \
36 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
37 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
42 define Package
/dsl-qos-queue
/install
43 $(INSTALL_DIR
) $(1)/usr
/sbin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dsl_qos_train
$(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ipt_rules
$(1)/usr
/sbin
49 $(eval
$(call BuildPackage
,dsl-qos-queue
))