wok-next view lua-json/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lua-json"
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 HOST_ARCH="any"
11 REPOLOGY="lua:json"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/harningt/luajson/archive/$VERSION.tar.gz"
15 TARBALL_SHA1="2ea25e4147ad661ff3b6d0427439bf99c06eb46d"
17 BUILD_DEPENDS="lua53-dev"
18 DEPENDS="lua lua-lpeg" # virtual "lua" and "lua-lpeg" packages
20 compile_rules() {
21 make \
22 LUA_BIN=lua53 \
23 PREFIX=/usr \
24 INSTALL_TOP=$install \
25 INSTALL_LMOD=/usr/share/lua/common/ \
26 install || return 1
28 cook_pick_docs docs/*
30 find $install -exec chmod g-w '{}' \; # 664->644, 775->755
31 }