forked from ports/contrib
lua51-lpeg: initial commit, version 1.0.2
This commit is contained in:
parent
9c2d1c4cfb
commit
2e266c9639
5
lua51-lpeg/.footprint
Normal file
5
lua51-lpeg/.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/lpeg.so
|
5
lua51-lpeg/.signature
Normal file
5
lua51-lpeg/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30O/3K+0MO/zUvjEfJYN/pbQ2p5yoEi7ukIKXGxIJ3GPPDV91JUBsIYSOKLg2d4Xbger9gHlRM0GIAKki0eaogs=
|
||||
SHA256 (Pkgfile) = da69800a8fea0fb825939605c0a9523239c6436ead5ede858b2a66ca23052446
|
||||
SHA256 (.footprint) = 26861c4e089424db85631315deeef604ac30895637c3d925f8aee53c886f6a08
|
||||
SHA256 (lpeg-1.0.2.tar.gz) = 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
|
21
lua51-lpeg/Pkgfile
Normal file
21
lua51-lpeg/Pkgfile
Normal file
@ -0,0 +1,21 @@
|
||||
# Description: a new pattern-matching library for Lua, based on Parsing Expression Grammars
|
||||
# URL: http://www.inf.puc-rio.br/~roberto/lpeg/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: lua51
|
||||
|
||||
name=lua51-lpeg
|
||||
version=1.0.2
|
||||
release=1
|
||||
source=(http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd lpeg-$version
|
||||
|
||||
sed 's/^CFLAGS =/CFLAGS +=/' -i makefile
|
||||
sed 's/^COPT =/# COPT =/' -i makefile
|
||||
|
||||
make LUADIR=/usr/include/lua5.1
|
||||
|
||||
install -Dm0755 lpeg.so $PKG/usr/lib/lua/5.1/lpeg.so
|
||||
install -Dm0644 re.lua "${pkgdir}"/usr/share/lua/5.1/re.lua
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user