From d2cef8cf04387c158575e1c536436dfcc6cd9b6a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 7 Jul 2009 16:39:53 -0400 Subject: [PATCH] lpeg: Added lpeg 0.9 - A pattern-matching library for Lua --- lua/lpeg/lpeg.conf | 22 ++++++++++++++++++++++ lua/lpeg/lpeg.desc | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 lua/lpeg/lpeg.conf create mode 100644 lua/lpeg/lpeg.desc diff --git a/lua/lpeg/lpeg.conf b/lua/lpeg/lpeg.conf new file mode 100644 index 000000000..96692a7c6 --- /dev/null +++ b/lua/lpeg/lpeg.conf @@ -0,0 +1,22 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lpeg/lpeg.conf +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +makeinstopt= + +hook_add postmake 5 'lpeg_install' +lpeg_install() { + cp -v lpeg.so "$root$lualibdir/" + cp -v re.lua "$root$luadatadir/" + cp -v test.lua *.html *.gif "$root$docdir/" +} diff --git a/lua/lpeg/lpeg.desc b/lua/lpeg/lpeg.desc new file mode 100644 index 000000000..290e237db --- /dev/null +++ b/lua/lpeg/lpeg.desc @@ -0,0 +1,33 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lpeg/lpeg.desc +[COPY] Copyright (C) 2009 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A pattern-matching library for Lua + +[T] LPeg is a new pattern-matching library for Lua, based on Parsing +[T] Expression Grammars (PEGs). + +[U] http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html + +[A] Roberto Ierusalimschy +[M] Alejandro Mery + +[C] extra/text +[F] LUA + +[L] OpenSource +[S] Stable +[V] 0.9 +[P] X -?---5---9 800.000 + +[D] 1572814321 lpeg-0.9.tar.gz http://www.inf.puc-rio.br/~roberto/lpeg/