diff options
author | Tim Biermann <tbier@posteo.de> | 2022-11-27 17:59:19 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-11-27 18:02:43 +0000 |
commit | 2e266c9639b972a0f6daee05414a8dc5f636f1de (patch) | |
tree | 015f86a227b612b5fb07fb3bfe5070433f6e046a /lua51-lpeg | |
parent | 9c2d1c4cfbc40430e4995aae102d4e618aaebf39 (diff) | |
download | contrib-2e266c9639b972a0f6daee05414a8dc5f636f1de.tar.gz contrib-2e266c9639b972a0f6daee05414a8dc5f636f1de.tar.xz |
lua51-lpeg: initial commit, version 1.0.2
Diffstat (limited to 'lua51-lpeg')
-rw-r--r-- | lua51-lpeg/.footprint | 5 | ||||
-rw-r--r-- | lua51-lpeg/.signature | 5 | ||||
-rw-r--r-- | lua51-lpeg/Pkgfile | 21 |
3 files changed, 31 insertions, 0 deletions
diff --git a/lua51-lpeg/.footprint b/lua51-lpeg/.footprint new file mode 100644 index 000000000..57f533138 --- /dev/null +++ b/lua51-lpeg/.footprint @@ -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 diff --git a/lua51-lpeg/.signature b/lua51-lpeg/.signature new file mode 100644 index 000000000..8d661ed31 --- /dev/null +++ b/lua51-lpeg/.signature @@ -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 diff --git a/lua51-lpeg/Pkgfile b/lua51-lpeg/Pkgfile new file mode 100644 index 000000000..7eb9936d3 --- /dev/null +++ b/lua51-lpeg/Pkgfile @@ -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 +} |