wget: fix build
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
parent
f0ed7fef35
commit
422360510c
1 changed files with 3 additions and 3 deletions
|
@ -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:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
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)
|
||||||
|
@ -49,7 +49,7 @@ $(call Package/wget/Default)
|
||||||
ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-ssl
|
ALTERNATIVES:=300:/usr/bin/wget:/usr/libexec/wget-ssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wget/description
|
define Package/wget-ssl/description
|
||||||
$(call Package/wget/Default/description)
|
$(call Package/wget/Default/description)
|
||||||
This package is built with SSL support.
|
This package is built with SSL support.
|
||||||
endef
|
endef
|
||||||
|
@ -92,7 +92,7 @@ ifeq ($(BUILD_VARIANT),nossl)
|
||||||
--without-ssl
|
--without-ssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define Package/wget/install
|
define Package/wget-ssl/install
|
||||||
$(INSTALL_DIR) $(1)/usr/libexec
|
$(INSTALL_DIR) $(1)/usr/libexec
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-ssl
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wget $(1)/usr/libexec/wget-ssl
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue