wok-current view 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 source
1 # SliTaz package receipt.
3 PACKAGE="lua5.1-lpeg"
4 VERSION="1.0.2"
5 CATEGORY="libs"
6 TAGS="lua"
7 SHORT_DESC="Pattern-matching library for Lua."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.inf.puc-rio.br/~roberto/lpeg/"
12 SOURCE="lpeg"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}$SOURCE-$VERSION.tar.gz"
16 SUGGESTED="lua5.1"
17 BUILD_DEPENDS="lua5.1-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make LUADIR=/usr/include/lua/5.1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/lua/5.1
29 cp -a $src/lpeg.so $fs/usr/lib/lua/5.1
30 cp -a $src/re.lua $fs/usr/lib/lua/5.1
31 }