wok-next view qjson/receipt @ rev 20653
Add grub2-efi-modules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 11:41:20 2018 +0200 (2018-05-04) |
parents | f8007f2c0018 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qjson"
4 VERSION="0.9.0"
5 CATEGORY="development"
6 SHORT_DESC="QJson is a Qt-based library that maps 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="qjson-dev"
17 compile_rules() {
18 mkdir build; cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 .. &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 qjson)
29 copy @std
30 DEPENDS="qt5-base"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="qjson qt5-dev"
35 ;;
36 esac
37 }