diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-11 16:18:20 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-13 18:27:28 +0100 |
commit | 055cdab2bb229e39e8a4acaf096356d0c481a1f4 (patch) | |
tree | 3820b0da2b5f6247453f802da530a274a776c042 /package/libs/uclient | |
parent | 3f0eb71daeec1d329e3ce5d53a9f5a35b1fed3ee (diff) | |
download | upstream-055cdab2bb229e39e8a4acaf096356d0c481a1f4.tar.gz upstream-055cdab2bb229e39e8a4acaf096356d0c481a1f4.tar.bz2 upstream-055cdab2bb229e39e8a4acaf096356d0c481a1f4.zip |
uclient: add ALTERNATIVES for wget
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>
Diffstat (limited to 'package/libs/uclient')
-rw-r--r-- | package/libs/uclient/Makefile | 3 |
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)) |