wok annotate qjson/receipt @ rev 21729
Add npush & oldrunner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 12 18:55:55 2019 +0200 (2019-06-12) |
parents | 9a0770ab3525 |
children | d1e9355bbbf1 |
rev | line source |
---|---|
al@16309 | 1 # SliTaz package receipt. |
al@16309 | 2 |
al@16309 | 3 PACKAGE="qjson" |
al@16309 | 4 VERSION="0.8.1" |
al@16309 | 5 CATEGORY="development" |
al@16309 | 6 SHORT_DESC="QJson is 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" |
al@16309 | 9 WEB_SITE="http://qjson.sourceforge.net/" |
al@16309 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@16651 | 11 WGET_URL="https://github.com/flavio/qjson/archive/$VERSION.zip" |
al@16309 | 12 |
al@16309 | 13 DEPENDS="libQtGui libQtNetwork libQtSql libcrypto" |
al@16309 | 14 BUILD_DEPENDS="Qt4-dev qmake cmake wget" |
al@16309 | 15 |
al@16309 | 16 # Rules to configure and make the package. |
al@16309 | 17 compile_rules() |
al@16309 | 18 { |
al@16309 | 19 mkdir build && cd build |
al@16309 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
al@16309 | 21 make && make install |
al@16309 | 22 } |
al@16309 | 23 |
al@16309 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16309 | 25 genpkg_rules() |
al@16309 | 26 { |
al@16309 | 27 mkdir -p $fs/usr/lib |
al@16309 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16309 | 29 } |