Merge pull request #2729 from stpx/lua-messagepack

lua-MessagePack: rename to lua52-MessagePack; fix lua5.2 dependencies
This commit is contained in:
Steve Prybylski 2015-10-12 16:18:15 -04:00
commit 078efb0618

View file

@ -1,20 +1,23 @@
# Template file for 'lua-MessagePack'
pkgname=lua-MessagePack
# Template file for 'lua52-MessagePack'
pkgname=lua52-MessagePack
version=0.3.3
revision=1
hostmakedepends="lua"
revision=2
noarch=yes
makedepends="lua"
depends="lua>=5.2"
wrksrc="${pkgname/52/}-${version}"
hostmakedepends="lua52"
makedepends="lua52"
depends="lua52>=5.2"
short_desc="A pure Lua implementation of msgpack.org"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="https://github.com/fperrad/lua-MessagePack"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=40e86eacac87f4deaa566cdefaaa1ec6ca90ad14a9419805ea90d069736cfda6
replaces="lua-MessagePack>=0"
do_install() {
make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install
vlicense COPYRIGHT LICENSE
}