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
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/wccpd
17 PKG_MD5SUM:=5f15c274de61dfb88e0dbfc1ccbe6b67
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22 include $(INCLUDE_DIR)/package.mk
27 TITLE:=a Web Cache Coordination daemon
28 URL:=http://wccpd.sourceforge.net/
31 define Package/wccpd/description
32 wccpd is a WCCP (Web Cache Coordination Protocol) server daemon
33 It allows a router (running Linux) to redirect web traffic to a
34 group of Squid servers using WCCP as the monitoring/controling
38 define Build/Configure
39 $(call Build/Configure/Default)
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
48 define Package/wccpd/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wccpd $(1)/usr/sbin/
53 $(eval $(call BuildPackage,wccpd))