mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
wget: provides gnu-wget
So that packages like acme requiring features from it can depend on it explicitly, not the more basic "wget" which is also provided by "uclient-fetch" Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
committed by
Toke Høiland-Jørgensen
parent
0031c87468
commit
71e06448ed
+4
-1
@@ -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:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
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)
|
||||||
@@ -31,6 +31,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
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wget/Default/description
|
define Package/wget/Default/description
|
||||||
@@ -47,6 +48,7 @@ $(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,6 +61,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
|
||||||
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-nossl
|
ALTERNATIVES:=300:/usr/bin/wget:/usr/bin/wget-nossl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user