2006-08-19 06:01:41 +00:00
|
|
|
#
|
|
|
|
# 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:=wccpd
|
|
|
|
PKG_VERSION:=0.2
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-20 10:38:20 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/wccpd
|
|
|
|
PKG_MD5SUM:=5f15c274de61dfb88e0dbfc1ccbe6b67
|
2006-08-19 06:01:41 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wccpd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=a Web Cache Coordination daemon
|
|
|
|
URL:=http://wccpd.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/wccpd/description
|
|
|
|
wccpd is a WCCP (Web Cache Coordination Protocol) server daemon
|
|
|
|
It allows a router (running Linux) to redirect web traffic to a
|
|
|
|
group of Squid servers using WCCP as the monitoring/controling
|
|
|
|
protocol.
|
|
|
|
endef
|
|
|
|
|
2006-08-19 06:01:41 +00:00
|
|
|
define Build/Configure
|
2006-10-20 10:38:20 +00:00
|
|
|
$(call Build/Configure/Default)
|
2006-08-19 06:01:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2006-10-20 10:38:20 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
2006-08-19 06:01:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wccpd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2006-08-19 06:01:41 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/wccpd $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wccpd))
|