docker-compose: add PKG_NAME to PKG_SOURCE 23777/head
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 11:06:42 +0000 (13:06 +0200)
commit261b38c14bed7865d244f24d0adb1bb33e963b88
treea44c0ed593a6e089015a06537113f1debeba6fc0
parent9db6b4ababa9c9ee751d627ac00386fe9bfe7b7a
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]
utils/docker-compose/Makefile