wok-next view lualpeg/receipt @ rev 21084

Add librefox
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 14:44:32 2018 +0200 (2018-12-25)
parents df20b2110f7e
children
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/"
10 REPOLOGY="lua:lpeg"
12 TARBALL="lpeg-$VERSION.tar.gz"
13 WGET_URL="http://www.inf.puc-rio.br/~roberto/lpeg/$TARBALL"
15 BUILD_DEPENDS="lua5.1-dev"
17 compile_rules() {
18 sed -i 's|^CFLAGS =|CFLAGS +=|; s|^COPT =|# COPT =|' makefile
20 make LUADIR=/usr/include/lua/5.1 || return 1
22 install -Dm755 lpeg.so $install/usr/lib/lua/5.1/lpeg.so
23 install -Dm644 re.lua $install/usr/share/lua/5.1/re.lua
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="lua5.1"
29 }