source: packages/net/dsl-qos-queue/Makefile @ 15480

Last change on this file since 15480 was 15480, checked in by nico, 8 years ago

[packages] massive change: replace occurences of -I$(STAGING_DIR)/{include,usr/include} and -L$(STAGING_DIR)/{lib,usr/lib} with $(TARGET_CPPFLAGS) and $(TARGET_LDFLAGS) respectively

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dsl_qos_queue
11PKG_VERSION:=0.9.3
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
16PKG_MD5SUM:=ccbe8d28c3508c67f669fe98532533be
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/dsl-qos-queue
23  SECTION:=net
24  CATEGORY:=Network
25  DEPENDS:=+iptables +kmod-ipt-queue @!LINUX_2_6_25 @!LINUX_2_6_26 @!LINUX_2_6_27 @!LINUX_2_6_28
26  TITLE:=ADSL/ATM Bandwith management
27endef
28
29define Build/Configure
30endef
31
32define Build/Compile
33        $(call Build/Compile/Default, \
34                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq $(TARGET_CPPFLAGS)" \
35                LDFLAGS="$(TARGET_LDFLAGS)" \
36                all \
37        )
38endef
39
40define Package/dsl-qos-queue/install   
41        $(INSTALL_DIR) $(1)/usr/sbin
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/dsl_qos_train $(1)/usr/sbin
44        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ipt_rules $(1)/usr/sbin
45endef
46
47$(eval $(call BuildPackage,dsl-qos-queue))
Note: See TracBrowser for help on using the repository browser.