lua51-mpack: initial commit, version 1.0.9
This commit is contained in:
parent
964e2c0f0e
commit
9c2d1c4cfb
5
lua51-mpack/.footprint
Normal file
5
lua51-mpack/.footprint
Normal file
@ -0,0 +1,5 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/lua/
|
||||
drwxr-xr-x root/root usr/lib/lua/5.1/
|
||||
-rwxr-xr-x root/root usr/lib/lua/5.1/mpack.so
|
5
lua51-mpack/.signature
Normal file
5
lua51-mpack/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF324vt7ndagKy7T7bwU8RAo+RpACDCTzfaVxnuga1QeNczG/WFJheoCan3NRSSVJPlm06fdRvqMy3nqc/NgInWgQ=
|
||||
SHA256 (Pkgfile) = 6e408c63e2f14fc251fdbcb34084b51cb058c0b2860f15226f40de6b9f34bfc4
|
||||
SHA256 (.footprint) = f56a263ff273e1ac4e53c212b64af6f53d643018ad0b57656440f6c33672bc2c
|
||||
SHA256 (lua51-mpack-1.0.9.tar.gz) = e94d5cf95d7479dca00ff23755fe05a440f11f9d203635e862ad8842de95f40a
|
17
lua51-mpack/Pkgfile
Normal file
17
lua51-mpack/Pkgfile
Normal file
@ -0,0 +1,17 @@
|
||||
# Description: Simple implementation of msgpack in C Lua 5.1
|
||||
# URL: https://github.com/libmpack/libmpack-lua
|
||||
# Maintainer:
|
||||
# Depends on: libmpack lua51
|
||||
|
||||
name=lua51-mpack
|
||||
version=1.0.9
|
||||
release=1
|
||||
source=(https://github.com/libmpack/libmpack-lua/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd libmpack-lua-$version
|
||||
|
||||
gcc -O2 -fPIC -DMPACK_USE_SYSTEM -I/usr/include/lua5.1 -c lmpack.c -o lmpack.o
|
||||
gcc -shared -lmpack -o mpack.so.5.1 lmpack.o
|
||||
install -Dm755 mpack.so.5.1 $PKG/usr/lib/lua/5.1/mpack.so
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user