Don't symlink uclient-fetch anymore to /bin/wget but rather use
the ALTERNATIVES support for wget to install it as /usr/bin/wget.
Let uclient-fetch provide wget
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SECTION:=net
CATEGORY:=Network
TITLE:=Tiny wget replacement using libuclient
+ ALTERNATIVES:=200:/usr/bin/wget:/bin/uclient-fetch
+ PROVIDES:=wget
DEPENDS:=+libuclient
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))