wok-next view lualpeg/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
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 }