build: add PKG_SOURCE_URL_FILE support
authorKamil Wcislo <kamil.wcislo@lpnplant.io>
Thu, 5 Jul 2018 19:40:19 +0000 (21:40 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 23 Nov 2019 12:35:43 +0000 (13:35 +0100)
commit09c428ec6bca27bdb31e2f6fef85b07787cead30
treea965080de994f8c0fc39ca4164bc8ebe39ef9224
parent226bc91109c814b3577b1b126f4ab420c868d5a8
build: add PKG_SOURCE_URL_FILE support

It seems that there is a missing PKG_SOURCE_URL_FILE support.
This little fix adds the support for packages to change the name of the
downloaded file.

Sometimes it is desirable to change the downloaded archive file name, like
for mitigating name conflicts for different packages (some files on the server
could be named like, e.g. 2018-01-01.tar.gz) or for the cases that there is
no name for the file in the URL (e.g. http://someserver.com/download).

Signed-off-by: Kamil Wcislo <kamil.wcislo@lpnplant.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
include/download.mk