wok-next diff lua-json/receipt @ rev 21705

updated graphviz (2.40.1 -> 2.44.0)
author Hans-G?nter Theisgen
date Mon Jul 06 14:36:48 2020 +0100 (2020-07-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lua-json/receipt	Mon Jul 06 14:36:48 2020 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="lua-json"
     1.7 +VERSION="1.3.4"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="JSON parser/encoder for Lua"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/harningt/luajson"
    1.13 +HOST_ARCH="any"
    1.14 +REPOLOGY="lua:json"
    1.15 +
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://github.com/harningt/luajson/archive/$VERSION.tar.gz"
    1.18 +TARBALL_SHA1="2ea25e4147ad661ff3b6d0427439bf99c06eb46d"
    1.19 +
    1.20 +BUILD_DEPENDS="lua53-dev"
    1.21 +DEPENDS="lua lua-lpeg" # virtual "lua" and "lua-lpeg" packages
    1.22 +
    1.23 +compile_rules() {
    1.24 +	make \
    1.25 +		LUA_BIN=lua53 \
    1.26 +		PREFIX=/usr \
    1.27 +		INSTALL_TOP=$install \
    1.28 +		INSTALL_LMOD=/usr/share/lua/common/ \
    1.29 +		install || return 1
    1.30 +
    1.31 +	cook_pick_docs docs/*
    1.32 +
    1.33 +	find $install -exec chmod g-w '{}' \; # 664->644, 775->755
    1.34 +}