wok-next view lualpeg/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 618256f7a332
children d457c4e37c1b
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 }