X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fwccpd%2FMakefile;h=d484e46ecdaf4f457bef81e294822910b21f38a6;hb=761cb103d9fe9d076ec31a9be42b7b7e3385ff8d;hp=5d88da8937940688f769a46e5a3e3fddc8aa7b3c;hpb=d85961b5ffc35f9b5e8caa42da83613da118fec5;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/wccpd/Makefile b/net/wccpd/Makefile index 5d88da8937..d484e46ecd 100644 --- a/net/wccpd/Makefile +++ b/net/wccpd/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -15,10 +14,8 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/wccpd PKG_MD5SUM:=5f15c274de61dfb88e0dbfc1ccbe6b67 -PKG_CAT:=zcat -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -36,19 +33,9 @@ define Package/wccpd/description protocol. endef -define Build/Configure - $(call Build/Configure/Default) -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef - define Package/wccpd/install $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/wccpd $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wccpd $(1)/usr/sbin/ endef $(eval $(call BuildPackage,wccpd))