vp-build/srcpkgs/lua51-mpack/template

23 lines
661 B
Bash

# Template file for 'lua51-mpack'
pkgname=lua51-mpack
version=1.0.7
revision=1
wrksrc="libmpack-lua-${version}"
hostmakedepends="libtool"
makedepends="lua51-devel libmpack-devel"
short_desc="Simple implementation of MessagePack for Lua 5.1"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="MIT"
homepage="https://github.com/libmpack/libmpack-lua"
distfiles="https://github.com/libmpack/libmpack-lua/archive/${version}.tar.gz"
checksum=2ebe9c8972c378040c9b8505f5fb40a0c64d990cd68be6a62989362b18294d0a
do_build() {
make ${makejobs} USE_SYSTEM_MPACK=1 USE_SYSTEM_LUA=1
}
do_install() {
vinstall mpack.so 755 usr/lib/lua/5.1
vlicense LICENSE-MIT
}