wok-current rev 25525

created recipe for lua5.1-lpeg 1.0.2
author Hans-G?nter Theisgen
date Fri Feb 24 17:54:40 2023 +0100 (22 months ago)
parents b7693f5d4c81
children 395b0dea66db
files lua5.1-lpeg/description.txt lua5.1-lpeg/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua5.1-lpeg/description.txt	Fri Feb 24 17:54:40 2023 +0100
     1.3 @@ -0,0 +1,7 @@
     1.4 +LPeg is a new pattern-matching library for Lua,
     1.5 +based on Parsing Expression Grammars (PEGs).
     1.6 +This text is a reference manual for the library.
     1.7 +For a more formal treatment of LPeg,
     1.8 +as well as some discussion about its implementation,
     1.9 +see A Text Pattern-Matching Tool based on
    1.10 +Parsing Expression Grammars.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lua5.1-lpeg/receipt	Fri Feb 24 17:54:40 2023 +0100
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="lua5.1-lpeg"
     2.7 +VERSION="1.0.2"
     2.8 +CATEGORY="libs"
     2.9 +TAGS="lua"
    2.10 +SHORT_DESC="Pattern-matching library for Lua."
    2.11 +MAINTAINER="maintainer@slitaz.org"
    2.12 +LICENSE="MIT"
    2.13 +WEB_SITE="http://www.inf.puc-rio.br/~roberto/lpeg/"
    2.14 +
    2.15 +SOURCE="lpeg"
    2.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 +WGET_URL="${WEB_SITE}$SOURCE-$VERSION.tar.gz"
    2.18 +
    2.19 +SUGGESTED="lua5.1"
    2.20 +BUILD_DEPENDS="lua5.1-dev"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +	make LUADIR=/usr/include/lua/5.1
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/lib/lua/5.1
    2.32 +	cp -a	$src/lpeg.so	$fs/usr/lib/lua/5.1
    2.33 +	cp -a	$src/re.lua	$fs/usr/lib/lua/5.1
    2.34 +}