Browse Source

wget: use ALTERNATIVES

Signed-off-by: Peter Wagner <tripolar@gmx.at>
lilik-openwrt-22.03
Peter Wagner 6 years ago
parent
commit
98728d326e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/wget/Makefile

+ 3
- 1
net/wget/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wget
PKG_VERSION:=1.20.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
@ -45,6 +45,7 @@ $(call Package/wget/Default)
DEPENDS+= +libopenssl +librt
TITLE+= (with SSL support)
VARIANT:=ssl
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-ssl
endef
define Package/wget/description
@ -56,6 +57,7 @@ define Package/wget-nossl
$(call Package/wget/Default)
TITLE+= (without SSL support)
VARIANT:=nossl
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-nossl
endef
define Package/wget-nossl/description


Loading…
Cancel
Save