wok-next annotate 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
rev   line source
al@20018 1 # SliTaz package receipt v2.
al@16309 2
al@16309 3 PACKAGE="qjson"
al@20018 4 VERSION="0.9.0"
al@16309 5 CATEGORY="development"
al@21020 6 SHORT_DESC="Map JSON data to QVariant objects"
al@16309 7 MAINTAINER="al.bobylev@gmail.com"
al@16309 8 LICENSE="LGPL2.1"
al@16309 9 WEB_SITE="http://qjson.sourceforge.net/"
al@16309 10
al@20018 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20018 12 WGET_URL="https://github.com/flavio/qjson/archive/$VERSION.tar.gz"
al@16309 13
al@20018 14 BUILD_DEPENDS="cmake qt5-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
al@20018 16
al@20018 17 compile_rules() {
al@21020 18 mkdir build
al@21020 19 cd build
al@20018 20 cmake \
al@20018 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@20018 22 .. &&
al@20018 23 make &&
al@20018 24 make install
al@16309 25 }
al@16309 26
al@20018 27 genpkg_rules() {
al@20018 28 case $PACKAGE in
al@20018 29 qjson)
al@20018 30 copy @std
al@20018 31 DEPENDS="qt5-base"
al@20018 32 ;;
al@20018 33 *-dev)
al@20018 34 copy @dev
al@20018 35 DEPENDS="qjson qt5-dev"
al@20018 36 ;;
al@20018 37 esac
al@16309 38 }