X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/eba4b4bcfc49afc8a3d1649751765f1e3285db65..026305c907b8190eeef832f4e04261cdb031c674:/openwrt/package/ppp/Makefile?ds=sidebyside diff --git a/openwrt/package/ppp/Makefile b/openwrt/package/ppp/Makefile index 69a934bea..f929f00f7 100644 --- a/openwrt/package/ppp/Makefile +++ b/openwrt/package/ppp/Makefile @@ -1,14 +1,16 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME := ppp PKG_VERSION := 2.4.3 PKG_RELEASE := 3 +PKG_MD5SUM := 848f6c3cafeb6074ffeb293c3af79b7c PKG_SOURCE_SITE := ftp://ftp.samba.org/pub/ppp/ PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_CAT := zcat PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION) - PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR) PKG_PPP := $(PACKAGE_DIR)/ppp_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk @@ -53,7 +55,7 @@ endif $(DL_DIR)/$(PKG_SOURCE_FILE): mkdir -p $(DL_DIR) - $(WGET) -P $(DL_DIR) $(PKG_SOURCE_SITE)/$(PKG_SOURCE_FILE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE) $(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE) mkdir -p $(TOOL_BUILD_DIR) @@ -103,6 +105,7 @@ $(PKG_PPP): $(PKG_BUILD_DIR)/pppd/pppd cp $(MODULES_DIR)/kernel/drivers/net/ppp_async.o $(I_PPP)/$(MODULES_SUBDIR) cp $(MODULES_DIR)/kernel/drivers/net/ppp_deflate.o $(I_PPP)/$(MODULES_SUBDIR) cp $(MODULES_DIR)/kernel/drivers/net/bsd_comp.o $(I_PPP)/$(MODULES_SUBDIR) + find $(I_PPP) -name CVS | xargs rm -rf $(IPKG_BUILD) $(I_PPP) $(PACKAGE_DIR) $(IPKG_STATE_DIR)/info/ppp.list: $(PKG_PPP) @@ -116,6 +119,7 @@ $(PKG_PPP_PPPOE_PLUGIN): $(PKG_PPP) $(STRIP) $(I_PPP_PPPOE_PLUGIN)/usr/lib/pppd/*/*.so mkdir -p $(I_PPP_PPPOE_PLUGIN)/$(MODULES_SUBDIR) cp $(MODULES_DIR)/kernel/drivers/net/pppo*.o $(I_PPP_PPPOE_PLUGIN)/$(MODULES_SUBDIR) + find $(I_PPP_PPPOE_PLUGIN) -name CVS | xargs rm -rf $(IPKG_BUILD) $(I_PPP_PPPOE_PLUGIN) $(PACKAGE_DIR) $(IPKG_STATE_DIR)/info/ppp-pppoe-plugin.list: $(PKG_PPP_PPPOE_PLUGIN) @@ -127,6 +131,7 @@ $(PKG_PPP_RADIUS_PLUGIN): $(PKG_PPP) cp -af $(PKG_BUILD_DIR)/pppd/plugins/radius/radius.so \ $(I_PPP_RADIUS_PLUGIN)/usr/lib/pppd/radius/ $(STRIP) $(I_PPP_RADIUS_PLUGIN)/usr/lib/pppd/*/*.so + find $(I_PPP_RADIUS_PLUGIN) -name CVS | xargs rm -rf $(IPKG_BUILD) $(I_PPP_RADIUS_PLUGIN) $(PACKAGE_DIR) $(IPKG_STATE_DIR)/info/ppp-radius-plugin.list: $(PKG_PPP_RADIUS_PLUGIN) @@ -137,6 +142,7 @@ $(PKG_PPPDUMP): $(PKG_PPP) mkdir -p $(I_PPPDUMP)/usr/sbin cp -af $(PKG_BUILD_DIR)/pppdump/pppdump $(I_PPPDUMP)/usr/sbin/ $(STRIP) $(I_PPPDUMP)/usr/sbin/* + find $(I_PPPDUMP) -name CVS | xargs rm -rf $(IPKG_BUILD) $(I_PPPDUMP) $(PACKAGE_DIR) $(IPKG_STATE_DIR)/info/pppdump.list: $(PKG_PPPDUMP) @@ -147,6 +153,7 @@ $(PKG_PPPSTATS): $(PKG_PPP) mkdir -p $(I_PPPSTATS)/usr/sbin cp -af $(PKG_BUILD_DIR)/pppstats/pppstats $(I_PPPSTATS)/usr/sbin/ $(STRIP) $(I_PPPSTATS)/usr/sbin/* + find $(I_PPPSTATS) -name CVS | xargs rm -rf $(IPKG_BUILD) $(I_PPPSTATS) $(PACKAGE_DIR) $(IPKG_STATE_DIR)/info/pppstats.list: $(PKG_PPPSTATS)