diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 4d97ef9a31..2527ba5c60 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -61,6 +61,9 @@ domainseparator = $(if $(1),$(1),/) # github(user,package,version): returns site of GitHub repository github = https://github.com/$(1)/$(2)/archive/$(3) +# gitlab(user,package,version): returns site of Gitlab-generated tarball +gitlab = https://gitlab.com/$(1)/$(2)/-/archive/$(3) + # Expressly do not check hashes for those files # Exported variables default to immediately expanded in some versions of # make, but we need it to be recursively-epxanded, so explicitly assign it.