wok-next view luajson/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="luajson"
4 VERSION="1.3.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="JSON parser/encoder for Lua"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/harningt/luajson"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/harningt/luajson/archive/$VERSION.tar.gz"
14 compile_rules() {
15 make \
16 PREFIX=/usr \
17 DESTDIR=$install \
18 INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.1' \
19 INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.1' \
20 install || return 1
22 chmod -R g-w $install # 664 -> 644
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="lua5.1 lualpeg"
28 }