package/pkg-download.mk: add gitlab macro
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 28 Mar 2021 19:13:49 +0000 (21:13 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 28 Mar 2021 20:44:57 +0000 (22:44 +0200)
commitf83826c90daf9cdb5a6196d2d2830eea8c2f0e09
treea84c14055acaf822a3b6b284b01bac44cffe144f
parentb7cd17eb09701c336d8fb73ee339639b61488c26
package/pkg-download.mk: add gitlab macro

Just like we have a "github" macro to calculate the URL of the tarball
to download source from Github, let's introduce a similar macro for
Gitlab.

This should be used to download the auto-generated tarballs from
Gitlab. If there is a specific release tarball uploaded by the
upstream developers, the <pkg>_SITE variable should not use this new
gitlab macro.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-download.mk