wget: use ALTERNATIVES
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
parent
db9750569b
commit
98728d326e
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue