wok-current diff lua5.1-lpeg/receipt @ rev 25527

created recipes for libmpack and libmpack-dev 1.0.5
author Hans-G?nter Theisgen
date Sat Feb 25 07:28:19 2023 +0100 (16 months ago)
parents
children 595fe6959202
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua5.1-lpeg/receipt	Sat Feb 25 07:28:19 2023 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lua5.1-lpeg"
     1.7 +VERSION="1.0.2"
     1.8 +CATEGORY="libs"
     1.9 +TAGS="lua"
    1.10 +SHORT_DESC="Pattern-matching library for Lua."
    1.11 +MAINTAINER="maintainer@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="http://www.inf.puc-rio.br/~roberto/lpeg/"
    1.14 +
    1.15 +SOURCE="lpeg"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="${WEB_SITE}$SOURCE-$VERSION.tar.gz"
    1.18 +
    1.19 +SUGGESTED="lua5.1"
    1.20 +BUILD_DEPENDS="lua5.1-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	make LUADIR=/usr/include/lua/5.1
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib/lua/5.1
    1.32 +	cp -a	$src/lpeg.so	$fs/usr/lib/lua/5.1
    1.33 +	cp -a	$src/re.lua	$fs/usr/lib/lua/5.1
    1.34 +}