wok-6.x annotate qjson/receipt @ rev 23050

Up claws-mail (3.17.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 15:13:42 2020 +0100 (2020-03-06)
parents f8007f2c0018
children 5ea0ce1cecc0
rev   line source
al@16309 1 # SliTaz package receipt.
al@16309 2
al@16309 3 PACKAGE="qjson"
Hans-G?nter@21740 4 VERSION="0.9.0"
al@16309 5 CATEGORY="development"
Hans-G?nter@21740 6 SHORT_DESC="A qt-based library that maps JSON data to QVariant objects."
al@16309 7 MAINTAINER="al.bobylev@gmail.com"
al@16309 8 LICENSE="LGPL2.1"
Hans-G?nter@21740 9 WEB_SITE="https://github.com/flavio/qjson/"
Hans-G?nter@21740 10
al@16309 11 TARBALL="$PACKAGE-$VERSION.zip"
Hans-G?nter@21740 12 WGET_URL="${WEB_SITE}archive/$VERSION.zip"
al@16309 13
al@16309 14 DEPENDS="libQtGui libQtNetwork libQtSql libcrypto"
al@16309 15 BUILD_DEPENDS="Qt4-dev qmake cmake wget"
al@16309 16
al@16309 17 # Rules to configure and make the package.
al@16309 18 compile_rules()
al@16309 19 {
Hans-G?nter@21740 20 mkdir build
Hans-G?nter@21740 21 cd build
Hans-G?nter@21740 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
Hans-G?nter@21740 23 make &&
Hans-G?nter@21740 24 make install
al@16309 25 }
al@16309 26
al@16309 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16309 28 genpkg_rules()
al@16309 29 {
al@16309 30 mkdir -p $fs/usr/lib
al@16309 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16309 32 }