wok-next view qjson/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
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 }