luarocks-package: use $(HOST_PKG_VERSION) instead of $(PKG_VERSION)
authorArnout Vandecappelle <arnout@mind.be>
Thu, 23 Feb 2017 17:00:25 +0000 (18:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Mar 2017 21:39:30 +0000 (22:39 +0100)
commit0be874d89ab5c238279a1f2e867ce67497099b30
treef98fdfad54ec8b5ca6b8fc581cc8954d91129de8
parent2c8438866394f2146ab60c483a820e3ca78ce560
luarocks-package: use $(HOST_PKG_VERSION) instead of $(PKG_VERSION)

The inner-luarocks-package macro was using $(3)_VERSION as the package
version, i.e. the version of the target package, even when it's the
host package. We should instead use $(2)_VERSION, i.e. the host package
version, like is done in inner-generic-package.

Since luarocks-package doesn't even support a host version, it doens't
make a whole lot of difference, but let's keep things consistent.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-luarocks.mk