package/wcurl: new package
PATCH 1/1 package/wcurl: new package
wcurl is a command line tool which lets you download URLs without having to remember any parameters.
Signed-off-by Angelo Compagnucci <[email protected]>
--- DEVELOPERS | 1 + package/Config.in | 1 + package/wcurl/Config.in | 8 ++++++++ package/wcurl/wcurl.hash | 3 +++ package/wcurl/wcurl.mk | 17 +++++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/wcurl/Config.in create mode 100644 package/wcurl/wcurl.hash create mode 100644 package/wcurl/wcurl.mk
DEVELOPERS +1 -0
@@ -242,6 +242,7 @@ F: package/sam-ba/ F: package/sshguard/ F: package/sunwait/ F: package/sysdig/ +F: package/wcurl/ N: Andy Shevchenko <[email protected]> F: package/fb-test-app/
package/Config.in +1 -0
@@ -2724,6 +2724,7 @@ endif source "package/vsftpd/Config.in" source "package/vtun/Config.in" source "package/wavemon/Config.in" + source "package/wcurl/Config.in" source "package/wget/Config.in" source "package/whois/Config.in" source "package/wireguard-linux-compat/Config.in"
package/wcurl/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL_CURL + help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/
package/wcurl/wcurl.hash new file +3 -0
@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82 wcurl-2025.05.26.tar.gz +sha256 0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810 LICENSE
package/wcurl/wcurl.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# wcurl +# +################################################################################ + +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE +WCURL_DEPENDENCIES = libcurl + +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Angelo,
Quoted 5 lines · Angelo Compagnucci
wcurl is a command line tool which lets you download URLs without having to remember any parameters.
Signed-off-by Angelo Compagnucci <[email protected]>---
[...]
package/wcurl/Config.in line 3
Quoted 9 lines
package/wcurl/Config.in new file +3
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL_CURL
I think this is better:
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBCURL_CURL
The need to enable BR2_PACKAGE_LIBCURL_CURL to expose wcurl package in the menu is not entirely obvious, IMO.
Quoted 21 lines
package/wcurl/Config.in new file +5
-0+ help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/package/wcurl/wcurl.hash new file +3
-0@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82 wcurl-2025.05.26.tar.gz +sha256 0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810 LICENSEpackage/wcurl/wcurl.mk new file +1
-0@@ -0,0 +1,17 @@ +################################################################################
package/wcurl/wcurl.mk line 11
Quoted 10 lines
package/wcurl/wcurl.mk new file +10
-0+# +# wcurl +# +################################################################################ + +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE +WCURL_DEPENDENCIES = libcurl
Are you sure libcurl is needed a build time?
package/wcurl/wcurl.mk line 17
Quoted 6 lines
package/wcurl/wcurl.mk new file +6
-0+ +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))
baruch
Signature · 7 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot