Browse Source

Merge pull request #10816 from Cynerd/wget-no-self-provide

wget: do not provide itself
lilik-openwrt-22.03
tripolar 5 years ago
committed by GitHub
parent
commit
948b7f809f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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