X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Frp-pppoe%2FMakefile;h=249084a15f5ec759f0f9d5a34f59c25ed1c0bd7c;hp=fa0b2b5fccb00c77b9089552744e1cb2f3f7eb23;hb=4d9b19576ba1d88ab4d2f9f60813367e8fa07873;hpb=2cf245d5905a3a04ed9b28bb16793c5dc7f50182 diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile index fa0b2b5fcc..249084a15f 100644 --- a/net/rp-pppoe/Makefile +++ b/net/rp-pppoe/Makefile @@ -15,7 +15,6 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://roaringpenguin.com/files/download PKG_MD5SUM:=0e32760f498f9cde44081ee6aafc823b -PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -28,8 +27,9 @@ define Package/rp-pppoe/Default DEPENDS:=+ppp TITLE:=PPPoE (PPP over Ethernet) URL:=http://roaringpenguin.com/penguin/pppoe/ + SUBMENU:=dial-in/up endef - + define Package/rp-pppoe-client $(call Package/rp-pppoe/Default) TITLE+= client @@ -62,7 +62,11 @@ define Package/rp-pppoe-client/install $(INSTALL_DIR) $(1)/etc/ppp $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ppp/pppoe.conf $(1)/etc/ppp/ $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-connect $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-start $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-stop $(1)/usr/sbin/ + $(SED) 's,modprobe,insmod,g' $(1)/usr/sbin/pppoe-connect endef define Package/rp-pppoe-relay/install @@ -71,7 +75,7 @@ define Package/rp-pppoe-relay/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/pppoe-relay.init $(1)/etc/init.d/pppoe-relay $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-relay $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-relay $(1)/usr/sbin/ endef define Package/rp-pppoe-server/install @@ -82,12 +86,12 @@ define Package/rp-pppoe-server/install $(INSTALL_DIR) $(1)/etc/ppp $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ppp/pppoe-server-options $(1)/etc/ppp/ $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-server $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-server $(1)/usr/sbin/ endef define Package/rp-pppoe-sniff/install $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-sniff $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-sniff $(1)/usr/sbin/ endef $(eval $(call BuildPackage,rp-pppoe-client))