wok-next view luajson/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | 618256f7a332 |
children |
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"
10 REPOLOGY="lua:json"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/harningt/luajson/archive/$VERSION.tar.gz"
15 compile_rules() {
16 make \
17 PREFIX=/usr \
18 DESTDIR=$install \
19 INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.1' \
20 INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.1' \
21 install || return 1
23 chmod -R g-w $install # 664 -> 644
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="lua5.1 lualpeg"
29 }