[Buildroot] <PKG>_SOURCE without a version?
casantos at datacom.com.br
Thu Dec 13 09:53:05 UTC 2018
> From: "Johan Oudinet" <johan.oudinet at gmail.com>
> To: "buildroot" <buildroot at buildroot.org>
> Sent: Quarta-feira, 12 de dezembro de 2018 17:01:11
> Subject: [Buildroot] <PKG>_SOURCE without a version?
> I'm packaging a project which distributes its sources without a
> version number in the filename. The version is present in the URL, but
> I'm wondering if the download architecture can handle a version bump
> properly, or if it would stick to the file in <PKG>_DL_DIR from an
> older version?
> Looking at the other packages, I found package/jquery-sparkline that
> has the same "issue".
> Its version has been bump several times. So either this is a bug and
> no one noticed it until now, or the download step can detect somehow
> when it has to download the file again?
You can cheat, as in
Notice that we use $(<PKG>_DL_DIR) now, instead of $(DL_DIR).
Carlos Santos (Casantos) - DATACOM, P&D
More information about the buildroot