void-packages/srcpkgs/lua51-mpack/template

21 lines
659 B
Bash

# Template file for 'lua51-mpack'
pkgname=lua51-mpack
version=1.0.7
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="USE_SYSTEM_MPACK=1 USE_SYSTEM_LUA=1"
hostmakedepends="libtool pkg-config"
makedepends="lua51-devel libmpack-devel"
short_desc="Simple implementation of MessagePack for Lua 5.1"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/libmpack/libmpack-lua"
distfiles="https://github.com/libmpack/libmpack-lua/archive/${version}.tar.gz"
checksum=2ebe9c8972c378040c9b8505f5fb40a0c64d990cd68be6a62989362b18294d0a
do_install() {
vinstall mpack.so 755 usr/lib/lua/5.1
vlicense LICENSE-MIT
}