Commit 507d6a63 authored by Samuel Martin's avatar Samuel Martin Committed by Thomas Petazzoni
Browse files

pkg-download: update the github helper



Once again, github updates the source download url.
Even if only the zip archive link is advertised on the repositories'
page, the *.tar.gz is still available.

It is worthy to note that the tarball's content differs depending if
it has been fetched from the former and the new url (the root directory
name changes).

Signed-off-by: default avatarSamuel Martin <s.martin49@gmail.com>
Tested-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 0aa9019c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(c
domainseparator=$(if $(1),$(1),/)

# github(user,package,version): returns site of github repository
github = https://github.com/$(1)/$(2)/tarball/$(3)
github = https://github.com/$(1)/$(2)/archive/$(3)

################################################################################
# The DOWNLOAD_* helpers are in charge of getting a working copy