Browse Source

wget: do not provide itself

The package wget should not say that it provides itself.

This also make gnu-wget provide general so it is not written in Makefile
twice.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
lilik-openwrt-22.03
Karel Kočí 5 years ago
parent
commit
75f2be7d50
No known key found for this signature in database GPG Key ID: D83BD732AC2BD828
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      net/wget/Makefile

+ 3
- 4
net/wget/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wget PKG_NAME:=wget
PKG_VERSION:=1.20.3 PKG_VERSION:=1.20.3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME) PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
@ -29,7 +29,7 @@ define Package/wget/Default
SUBMENU:=File Transfer SUBMENU:=File Transfer
TITLE:=Non-interactive network downloader TITLE:=Non-interactive network downloader
URL:=https://www.gnu.org/software/wget/index.html URL:=https://www.gnu.org/software/wget/index.html
PROVIDES:=wget
PROVIDES:=gnu-wget
endef endef
define Package/wget/Default/description define Package/wget/Default/description
@ -46,7 +46,6 @@ $(call Package/wget/Default)
DEPENDS+= +libopenssl +librt DEPENDS+= +libopenssl +librt
TITLE+= (with SSL support) TITLE+= (with SSL support)
VARIANT:=ssl VARIANT:=ssl
PROVIDES+=gnu-wget
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-ssl ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-ssl
endef endef
@ -59,7 +58,7 @@ define Package/wget-nossl
$(call Package/wget/Default) $(call Package/wget/Default)
TITLE+= (without SSL support) TITLE+= (without SSL support)
VARIANT:=nossl VARIANT:=nossl
PROVIDES+=gnu-wget
PROVIDES+=wget
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-nossl ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-nossl
endef endef


Loading…
Cancel
Save