[Buildroot] [PATCH 1/1] package/rlwrap: use the github helper

Matt Silva dev at matt-silva.com
Thu Apr 10 01:29:23 UTC 2025


Currently, rlwrap just downloads directly from the hardcoded URL to its
Github releases. However, we have a github helper function to streamline
this and handle if Github changes its download mechanisms in the future.

Signed-off-by: Matt Silva <dev at matt-silva.com>
---
 package/rlwrap/rlwrap.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rlwrap/rlwrap.mk b/package/rlwrap/rlwrap.mk
index e3973e841b..3d3d4fab92 100644
--- a/package/rlwrap/rlwrap.mk
+++ b/package/rlwrap/rlwrap.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 RLWRAP_VERSION = 0.46.1
-RLWRAP_SITE = https://github.com/hanslub42/rlwrap/releases/download/$(RLWRAP_VERSION)
+RLWRAP_SITE = $(call github,hanslub42,rlwrap,v$(RLWRAP_VERSION))
 RLWRAP_LICENSE = GPL-2.0+
 RLWRAP_LICENSE_FILES = AUTHORS COPYING
 
-- 
2.47.1



More information about the buildroot mailing list