aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/uclient
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/uclient')
-rw-r--r--package/libs/uclient/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/uclient/Makefile b/package/libs/uclient/Makefile
index 256c172f51..3f417fcd6d 100644
--- a/package/libs/uclient/Makefile
+++ b/package/libs/uclient/Makefile
@@ -32,6 +32,8 @@ define Package/uclient-fetch
SECTION:=net
CATEGORY:=Network
TITLE:=Tiny wget replacement using libuclient
+ ALTERNATIVES:=200:/usr/bin/wget:/bin/uclient-fetch
+ PROVIDES:=wget
DEPENDS:=+libuclient
endef
@@ -43,7 +45,6 @@ endef
define Package/uclient-fetch/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uclient-fetch $(1)/bin/
- ln -s uclient-fetch $(1)/bin/wget
endef
$(eval $(call BuildPackage,libuclient))