docker-compose: add PKG_NAME to PKG_SOURCE
authorJavier Marcet <javier@marcet.info>
Sat, 30 Mar 2024 15:59:10 +0000 (16:59 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 31 Mar 2024 13:27:05 +0000 (15:27 +0200)
commit876b0bc1945e578106569760d9c138b6dee30643
tree4933ab01d1679c36c4391fb7fc461b9778b62941
parent66894032d482625a1a7e22ba4336c6fa5dd35d26
docker-compose: add PKG_NAME to PKG_SOURCE

Before this change, the tarball was downloaded as vVERSION.tar.gz.
For example, it was v2.26.1.tar.gz and that file was put into the dl folder
within the OpenWrt build system.

After this change, the tarball is properly downloaded as NAME-vVERSION.tar.gz.
In this case, it will look like this: docker-compose-v.2.26.1.tar.gz

The advantages of using this:
- Users, developers will know that what they downloaded (it has name and version)
- The tarball will not be overwritten by another package with the same version.

Signed-off-by: Javier Marcet <javier@marcet.info>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added commit message]
(cherry picked from commit 261b38c14bed7865d244f24d0adb1bb33e963b88)
utils/docker-compose/Makefile