wok-next view lualpeg/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | |
children | df20b2110f7e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lualpeg"
4 VERSION="1.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pattern-matching library for Lua"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.inf.puc-rio.br/~roberto/lpeg"
11 TARBALL="lpeg-$VERSION.tar.gz"
12 WGET_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$TARBALL"
14 BUILD_DEPENDS="lua5.1-dev"
16 compile_rules() {
17 sed -i 's|^CFLAGS =|CFLAGS +=|; s|^COPT =|# COPT =|' makefile
19 make LUADIR=/usr/include/lua/5.1 || return 1
21 install -Dm755 lpeg.so $install/usr/lib/lua/5.1/lpeg.so
22 install -Dm644 re.lua $install/usr/share/lua/5.1/re.lua
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="lua5.1"
28 }