New package: lua51-mpack-1.0.2.
This commit is contained in:
parent
cc76da5720
commit
2efc131de5
1 changed files with 22 additions and 0 deletions
22
srcpkgs/lua51-mpack/template
Normal file
22
srcpkgs/lua51-mpack/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'lua51-mpack'
|
||||
pkgname=lua51-mpack
|
||||
version=1.0.2
|
||||
revision=1
|
||||
wrksrc="libmpack-${version}"
|
||||
hostmakedepends="libtool"
|
||||
makedepends="lua51-devel"
|
||||
short_desc="Simple implementation of MessagePack for Lua 5.1"
|
||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/tarruda/libmpack"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9
|
||||
|
||||
do_build() {
|
||||
${CC} ${CFLAGS} -shared -o mpack.so binding/lua/lmpack.c ${LDFLAGS}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall mpack.so 755 usr/lib/lua/5.1
|
||||
vlicense LICENSE-MIT
|
||||
}
|
Loading…
Reference in a new issue