wok-next view qjson/receipt @ rev 21144

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 15:54:42 2019 +0200 (2019-01-26)
parents e756329576c3
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qjson"
4 VERSION="0.9.0"
5 CATEGORY="development"
6 SHORT_DESC="Map JSON data to QVariant objects"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://qjson.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/flavio/qjson/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake qt5-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 qjson)
30 copy @std
31 DEPENDS="qt5-base"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="qjson qt5-dev"
36 ;;
37 esac
38 }